modal.html.haml 655 B

12345678910111213141516171819
  1. - content_for :header_tags do
  2. = javascript_pack_tag 'public', 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. %img{alt:'', draggable:'false', src:"#{mascot_url}"}
  16. = render template: 'layouts/application'