1
0

modal.html.haml 613 B

123456789101112131415161718
  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? && !@hide_header
  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(continue: true), method: :delete, class: 'logout-link icon-button' do
  11. = fa_icon 'sign-out'
  12. .container-alt= yield
  13. .modal-layout__mastodon
  14. %div
  15. = render template: 'layouts/application'