闭社主体 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.

18 lines
576 B

  1. - content_for :header_tags do
  2. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  3. - content_for :content do
  4. - if user_signed_in?
  5. .account-header
  6. .avatar= image_tag current_account.avatar.url(:original)
  7. .name
  8. = t 'users.signed_in_as'
  9. %span.username @#{current_account.local_username_and_domain}
  10. = link_to destroy_user_session_path, method: :delete, class: 'logout-link icon-button' do
  11. = fa_icon 'sign-out'
  12. .container= yield
  13. .modal-layout__mastodon
  14. %div
  15. = render template: 'layouts/application'