2016-02-29 00:41:01 +11:00
|
|
|
- content_for :header_tags do
|
2016-03-01 05:42:08 +11:00
|
|
|
%link{ rel: 'salmon', href: api_salmon_url(@account.id) }/
|
|
|
|
%link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
|
2016-02-29 00:41:01 +11:00
|
|
|
|
2016-02-28 10:51:05 +11:00
|
|
|
.card
|
2016-03-06 09:42:40 +11:00
|
|
|
.avatar= image_tag @account.avatar.url(:large)
|
2016-03-06 22:34:39 +11:00
|
|
|
%h1.name
|
|
|
|
= @account.display_name.blank? ? @account.username : @account.display_name
|
|
|
|
%small= "@#{@account.username}"
|
|
|
|
.details
|
|
|
|
.counter
|
|
|
|
%span.counter-label Posts
|
|
|
|
%span.counter-number= @account.statuses.count
|
|
|
|
.counter
|
|
|
|
%span.counter-label Following
|
|
|
|
%span.counter-number= @account.following.count
|
|
|
|
.counter
|
|
|
|
%span.counter-label Followers
|
|
|
|
%span.counter-number= @account.followers.count
|
|
|
|
.bio
|
|
|
|
%p= @account.note
|
2016-02-28 10:51:05 +11:00
|
|
|
.activity-stream
|
2016-03-06 22:34:39 +11:00
|
|
|
- @statuses.each do |status|
|
2016-03-01 05:42:08 +11:00
|
|
|
= render partial: 'stream_entries/status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false }
|