about summary refs log tree commit diff
path: root/app/views/stream_entries
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-06 12:34:39 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-06 12:34:39 +0100
commitaab330eb2d39711e19753e89ba7ff67521929cf0 (patch)
treea652e2dc7f3bbd67264f45bb9c7c010e149c03c8 /app/views/stream_entries
parentab80ebdeecf9410c5b43dde333b2e036e1198e24 (diff)
Adjusting design of public pages, optimizing account page queries
Diffstat (limited to 'app/views/stream_entries')
-rw-r--r--app/views/stream_entries/_follow.html.haml4
-rw-r--r--app/views/stream_entries/show.html.haml2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/stream_entries/_follow.html.haml b/app/views/stream_entries/_follow.html.haml
index c1c081374..f19e8783d 100644
--- a/app/views/stream_entries/_follow.html.haml
+++ b/app/views/stream_entries/_follow.html.haml
@@ -1,5 +1,5 @@
 .entry.entry-follow
   .content
-    %strong= follow.account.acct
+    %strong= link_to follow.account.acct, account_path(follow.account)
     is now following
-    %strong= follow.target_account.acct
+    %strong= link_to follow.target_account.acct, url_for_target(follow.target_account)
diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml
index 6286daf53..a951120ac 100644
--- a/app/views/stream_entries/show.html.haml
+++ b/app/views/stream_entries/show.html.haml
@@ -1,5 +1,5 @@
 - content_for :header_tags do
   %link{ rel: 'alternate', type: 'application/atom+xml', href: account_stream_entry_url(@account, @stream_entry, format: 'atom') }/
 
-.activity-stream
+.activity-stream.activity-stream-headless
   = render partial: @type, locals: { @type.to_sym => @stream_entry.activity, include_threads: true, is_predecessor: false, is_successor: false }