2017-08-05 05:24:58 +03:00
|
|
|
- content_for :content do
|
2018-08-18 04:03:12 +03:00
|
|
|
- if user_signed_in? && !@hide_header
|
2017-08-05 05:24:58 +03: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 14:35:47 +02: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
|
2017-08-05 05:24:58 +03:00
|
|
|
= fa_icon 'sign-out'
|
|
|
|
|
2018-02-22 04:04:27 +02:00
|
|
|
.container-alt= yield
|
2022-03-01 17:48:58 +02:00
|
|
|
|
2018-01-02 06:07:56 +02:00
|
|
|
.modal-layout__mastodon
|
|
|
|
%div
|
2023-03-15 05:15:36 +02:00
|
|
|
%img{ alt: '', draggable: 'false', src: mascot_url }
|
2017-08-05 05:24:58 +03:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|