Add local only icon to status page

This commit is contained in:
Renato "Lond" Cerqueira
2018-09-04 18:27:34 +02:00
parent 469294d293
commit 5497b5af61
2 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,10 @@
%span.detailed-status__favorites>= number_to_human status.favourites_count, strip_insignificant_zeros: true
= " "
- if status.local_only
·
%span.detailed-status__link.modal-button.disabled<
= fa_icon 'chain-broken fw', 'title': t('statuses.local_only')
- if user_signed_in?
·
= link_to t('statuses.open_in_web'), web_url("statuses/#{status.id}"), class: 'detailed-status__application', target: '_blank'