Adjusting design of public pages, optimizing account page queries

This commit is contained in:
Eugen Rochko
2016-03-06 12:34:39 +01:00
parent ab80ebdeec
commit aab330eb2d
8 changed files with 79 additions and 34 deletions

View File

@ -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)

View File

@ -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 }