0
0
Fork 0

Fix #5082 - disable retweet link for followers only toot (#5397)

* Fix #5082 - disable retweet link for followers only toot

* Hide reblog count when it is a direct message
This commit is contained in:
KY 2017-10-16 20:10:12 +08:00 committed by Eugen Rochko
parent 3c530d95f6
commit f72936b4e6
2 changed files with 30 additions and 9 deletions

View file

@ -39,9 +39,16 @@
- else
= link_to status.application.name, status.application.website, class: 'detailed-status__application', target: '_blank', rel: 'noopener'
·
%span<
= fa_icon('retweet')
%span= status.reblogs_count
- if status.direct_visibility?
%span<
= fa_icon('envelope')
- elsif status.private_visibility?
%span<
= fa_icon('lock')
- else
%span<
= fa_icon('retweet')
%span= status.reblogs_count
·
%span<
= fa_icon('star')