闭社主体 forked from https://github.com/tootsuite/mastodon
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.

17 lines
512 B

  1. - content_for :page_title do
  2. = display_name(@account)
  3. - content_for :header_tags do
  4. %link{ rel: 'salmon', href: api_salmon_url(@account.id) }/
  5. %link{ rel: 'alternate', type: 'application/atom+xml', href: account_url(@account, format: 'atom') }/
  6. = render partial: 'header'
  7. - if @statuses.empty?
  8. .accounts-grid
  9. = render partial: 'nothing_here'
  10. - else
  11. .activity-stream
  12. = render partial: 'stream_entries/status', collection: @statuses, as: :status
  13. = will_paginate @statuses, pagination_options