You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
912 B

  1. - content_for :header_tags do
  2. %link{ rel: 'salmon', href: api_salmon_url(@account.id) }/
  3. %link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
  4. .card
  5. .avatar= image_tag @account.avatar.url(:large)
  6. %h1.name
  7. = @account.display_name.blank? ? @account.username : @account.display_name
  8. %small= "@#{@account.username}"
  9. .details
  10. .counter
  11. %span.counter-label Posts
  12. %span.counter-number= @account.statuses.count
  13. .counter
  14. %span.counter-label Following
  15. %span.counter-number= @account.following.count
  16. .counter
  17. %span.counter-label Followers
  18. %span.counter-number= @account.followers.count
  19. .bio
  20. %p= @account.note
  21. .activity-stream
  22. - @statuses.each do |status|
  23. = render partial: 'stream_entries/status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false }