2016-02-28 14:41:01 +01:00
|
|
|
- content_for :header_tags do
|
|
|
|
%link{ rel: 'salmon', href: salmon_url(@account) }/
|
|
|
|
%link{ rel: 'alternate', type: 'application/atom+xml', href: atom_user_stream_url(id: @account.id) }/
|
|
|
|
|
2016-02-28 00:51:05 +01: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 20:48:20 +01:00
|
|
|
|
2016-02-28 00:51:05 +01:00
|
|
|
.activity-stream
|
2016-02-26 20:48:20 +01:00
|
|
|
- @account.statuses.order('id desc').each do |status|
|
2016-02-28 14:02:53 +01:00
|
|
|
= render partial: 'status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false }
|