about summary refs log tree commit diff
path: root/app/views/stream_entries
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-20 03:36:29 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-20 03:36:29 +0100
commit6b1db5c2b202383bd22d40909a68df8cbcb20b36 (patch)
treedc8b9b0144a29302285c70a3e8b12639dfa7162e /app/views/stream_entries
parent56d998cbdbf9743ced5a77895b902ccf33b36332 (diff)
Add landing strip
Diffstat (limited to 'app/views/stream_entries')
-rw-r--r--app/views/stream_entries/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml
index 6bad45705..7a1afdd96 100644
--- a/app/views/stream_entries/show.html.haml
+++ b/app/views/stream_entries/show.html.haml
@@ -20,5 +20,8 @@
 
   %meta{ property: 'twitter:card', content: 'summary' }/
 
+- if !user_signed_in? && !Rails.configuration.x.single_user_mode
+  = render partial: 'shared/landing_strip', locals: { account: @stream_entry.account }
+
 .activity-stream.activity-stream-headless
   = render partial: @type, locals: { @type.to_sym => @stream_entry.activity, include_threads: true }