diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-11-30 22:09:52 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-11-30 22:09:52 +0100 |
commit | 1a5de0478906ade1443bd362ba41d8d0d38f1336 (patch) | |
tree | 7e322548ad91c141646035c496ac64e520017927 /app/views/stream_entries/_detailed_status.html.haml | |
parent | b65daa25faab0fbefd367b3cbbe4d32bfd8c5820 (diff) |
Display a double reply arrow on public pages for toots that are replies
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 6e6d0eda8..447667c5a 100644 --- a/app/views/stream_entries/_detailed_status.html.haml +++ b/app/views/stream_entries/_detailed_status.html.haml @@ -44,7 +44,10 @@ = link_to status.application.name, status.application.website, class: 'detailed-status__application', target: '_blank', rel: 'noopener' · = link_to remote_interaction_path(status), 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 = " " · |