about summary refs log tree commit diff
path: root/app/views/statuses/_status.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-12-02 21:21:44 +0100
committerGitHub <noreply@github.com>2020-12-02 21:21:44 +0100
commitd849aad85206bff2058fbbd9e187b0048c793cb9 (patch)
tree490f65b5ed7987b7d8854ab2d57058358171a65c /app/views/statuses/_status.html.haml
parent9136be480f9660dcdf0e5a17ed929e2eb5ee650c (diff)
Change public thread view to hide "Show thread" link (#15266)
Fixes #15262
Diffstat (limited to 'app/views/statuses/_status.html.haml')
-rw-r--r--app/views/statuses/_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/statuses/_status.html.haml b/app/views/statuses/_status.html.haml
index 650f9b679..13a06519c 100644
--- a/app/views/statuses/_status.html.haml
+++ b/app/views/statuses/_status.html.haml
@@ -39,7 +39,7 @@
       %span
         = t('stream_entries.pinned')
 
-  = render (centered ? 'statuses/detailed_status' : 'statuses/simple_status'), status: status.proper, autoplay: autoplay
+  = render (centered ? 'statuses/detailed_status' : 'statuses/simple_status'), status: status.proper, autoplay: autoplay, hide_show_thread: is_predecessor || is_successor
 
 - if include_threads
   - if @since_descendant_thread_id