Skip to content
Snippets Groups Projects
Commit 6c002cf6 authored by Effy Elden's avatar Effy Elden
Browse files

Test for presence of Application in haml before trying to render details, to...

Test for presence of Application in haml before trying to render details, to fix errors identified by CI
parent d6bc0e8d
No related branches found
No related tags found
No related merge requests found
......@@ -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
%span= l(status.created_at)
·
= link_to status.application.website, class: 'detailed-status__application', target: @external_links ? '_blank' : nil, rel: 'noooper' do
%span= status.application.name
·
- if status.application
= link_to status.application.website, class: 'detailed-status__application', target: @external_links ? '_blank' : nil, rel: 'noooper' do
%span= status.application.name
·
%span
= fa_icon('retweet')
%span= status.reblogs.count
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment