2017-08-05 12:24:58 +10:00
|
|
|
- content_for :header_tags do
|
2020-11-06 21:56:31 +11:00
|
|
|
= javascript_pack_tag 'public', crossorigin: 'anonymous'
|
2017-08-05 12:24:58 +10:00
|
|
|
|
2024-09-07 02:46:55 +10:00
|
|
|
- content_for :body_classes, 'modal-layout compose-standalone'
|
|
|
|
|
2017-08-05 12:24:58 +10:00
|
|
|
- content_for :content do
|
2018-08-18 11:03:12 +10:00
|
|
|
- if user_signed_in? && !@hide_header
|
2017-08-05 12:24:58 +10:00
|
|
|
.account-header
|
|
|
|
.avatar= image_tag current_account.avatar.url(:original)
|
|
|
|
.name
|
|
|
|
= t 'users.signed_in_as'
|
|
|
|
%span.username @#{current_account.local_username_and_domain}
|
2023-01-05 23:35:47 +11:00
|
|
|
= 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
|
2024-08-10 19:13:08 +10:00
|
|
|
= material_symbol 'logout'
|
2017-08-05 12:24:58 +10:00
|
|
|
|
2018-02-22 13:04:27 +11:00
|
|
|
.container-alt= yield
|
2022-03-02 02:48:58 +11:00
|
|
|
|
2018-01-02 15:07:56 +11:00
|
|
|
.modal-layout__mastodon
|
|
|
|
%div
|
2023-03-15 14:15:36 +11:00
|
|
|
%img{ alt: '', draggable: 'false', src: mascot_url }
|
2017-08-05 12:24:58 +10:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|