mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Test for presence of Application in haml before trying to render details, to fix errors identified by CI
This commit is contained in:
parent
d6bc0e8db4
commit
6c002cf615
@ -28,9 +28,10 @@
|
|||||||
= link_to TagManager.instance.url_for(status), class: 'detailed-status__datetime u-url u-uid', target: @external_links ? '_blank' : nil, rel: 'noopener' do
|
= link_to TagManager.instance.url_for(status), class: 'detailed-status__datetime u-url u-uid', target: @external_links ? '_blank' : nil, rel: 'noopener' do
|
||||||
%span= l(status.created_at)
|
%span= l(status.created_at)
|
||||||
·
|
·
|
||||||
= link_to status.application.website, class: 'detailed-status__application', target: @external_links ? '_blank' : nil, rel: 'noooper' do
|
- if status.application
|
||||||
%span= status.application.name
|
= link_to status.application.website, class: 'detailed-status__application', target: @external_links ? '_blank' : nil, rel: 'noooper' do
|
||||||
·
|
%span= status.application.name
|
||||||
|
·
|
||||||
%span
|
%span
|
||||||
= fa_icon('retweet')
|
= fa_icon('retweet')
|
||||||
%span= status.reblogs.count
|
%span= status.reblogs.count
|
||||||
|
Loading…
Reference in New Issue
Block a user