logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

modal.html.haml (580B)


  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-alt= yield
  13. .modal-layout__mastodon
  14. %div
  15. = render template: 'layouts/application'