diff options
author | ThibG <thib@sitedethib.com> | 2019-01-14 17:29:04 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-14 17:29:04 +0100 |
commit | 2648645d0504dd5c6b66d4c7884452c368377379 (patch) | |
tree | d5c2c9c33315a7e68af3ccf4395cf56b51d7c96a /app/views/stream_entries/_detailed_status.html.haml | |
parent | 5c5e14c816eb0871344bb69a96bc4bb38e0d3061 (diff) |
Display a double reply arrow on public pages for toots that are replies (#9808)
Diffstat (limited to 'app/views/stream_entries/_detailed_status.html.haml')
-rw-r--r-- | app/views/stream_entries/_detailed_status.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/stream_entries/_detailed_status.html.haml b/app/views/stream_entries/_detailed_status.html.haml index 872a02ea4..18265e110 100644 --- a/app/views/stream_entries/_detailed_status.html.haml +++ b/app/views/stream_entries/_detailed_status.html.haml @@ -46,7 +46,10 @@ = link_to status.application.name, status.application.website, class: 'detailed-status__application', target: '_blank', rel: 'noopener' · = link_to remote_interaction_path(status, type: :reply), class: 'modal-button detailed-status__link' do - = fa_icon('reply') + - if status.in_reply_to_id.nil? + = fa_icon('reply') + - else + = fa_icon('reply-all') %span.detailed-status__reblogs>= number_to_human status.replies_count, strip_insignificant_zeros: true = " " · |