Add local only icon to status page
This commit is contained in:
parent
469294d293
commit
5497b5af61
@ -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'
|
||||
|
@ -45,3 +45,6 @@
|
||||
= fa_icon 'envelope fw'
|
||||
= link_to remote_interaction_path(status), class: 'status__action-bar-button icon-button modal-button', style: 'font-size: 18px; width: 23.1429px; height: 23.1429px; line-height: 23.15px;' do
|
||||
= fa_icon 'star fw'
|
||||
- if status.local_only
|
||||
%span.status__action-bar-button.icon-button.disabled{style: 'font-size: 18px; width: 23.1429px; height: 23.1429px; line-height: 23.15px;'}<
|
||||
= fa_icon 'chain-broken fw', 'title': t('statuses.local_only')
|
||||
|
Loading…
Reference in New Issue
Block a user