2016-02-28 05:41:01 -08:00
|
|
|
- content_for :header_tags do
|
2016-02-29 10:42:08 -08: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-28 05:41:01 -08:00
|
|
|
|
2016-02-27 15:51:05 -08:00
|
|
|
.card
|
|
|
|
.avatar= image_tag @account.avatar.url(:medium)
|
|
|
|
.bio
|
|
|
|
%h1.name
|
|
|
|
= @account.display_name.blank? ? @account.username : @account.display_name
|
|
|
|
%small= "@#{@account.username}"
|
2016-02-26 11:48:20 -08:00
|
|
|
|
2016-02-27 15:51:05 -08:00
|
|
|
.activity-stream
|
2016-02-26 11:48:20 -08:00
|
|
|
- @account.statuses.order('id desc').each do |status|
|
2016-02-29 10:42:08 -08:00
|
|
|
= render partial: 'stream_entries/status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false }
|