2017-08-04 22:24:58 -04:00
|
|
|
- content_for :header_tags do
|
2020-11-06 05:56:31 -05:00
|
|
|
= javascript_pack_tag 'public', crossorigin: 'anonymous'
|
2017-08-04 22:24:58 -04:00
|
|
|
|
|
|
|
- content_for :content do
|
2018-08-17 21:03:12 -04:00
|
|
|
- if user_signed_in? && !@hide_header
|
2017-08-04 22:24:58 -04: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 07:35:47 -05: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
|
2018-09-27 20:11:14 -04:00
|
|
|
= fa_icon 'sign-out'
|
2017-08-04 22:24:58 -04:00
|
|
|
|
2018-02-21 21:04:27 -05:00
|
|
|
.container-alt= yield
|
2022-03-01 10:48:58 -05:00
|
|
|
|
2018-01-01 23:07:56 -05:00
|
|
|
.modal-layout__mastodon
|
|
|
|
%div
|
2022-03-01 10:48:58 -05:00
|
|
|
%img{alt: '', draggable: 'false', src: mascot_url }
|
2017-08-04 22:24:58 -04:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|