Files
mastodon/app/views/layouts/modal.html.haml
Claire a4fd9b704a Merge commit '284b46fee7ad682b52c99d0455a1134e1d4e3fc3' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/theme_helper.rb`:
  Upstream added an experimental feature flag to try out theme refactors.
  Glitch-soc's theming system is too different, so skips the new feature flag.
- `stylelint.config.js`:
  Ditto.
2025-11-19 21:34:53 +01:00

23 lines
837 B
Plaintext

- content_for :header_tags do
= flavoured_vite_typescript_tag 'public.tsx', crossorigin: 'anonymous'
- content_for :body_classes, 'modal-layout with-zig-zag-decoration compose-standalone'
- content_for :content do
- if user_signed_in? && !@hide_header
.account-header
.avatar= image_tag current_account.avatar.url(:original)
.name
= t 'users.signed_in_as'
%span.username @#{current_account.local_username_and_domain}
= link_to destroy_user_session_path(continue: true), method: :delete, class: 'logout-link icon-button', title: t('applications.logout'), 'aria-label': t('applications.logout') do
= material_symbol 'logout'
.container-alt= yield
.modal-layout__mastodon
%div
%img{ alt: '', draggable: 'false', src: mascot_url }
= render template: 'layouts/application'