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}
|
2018-09-08 22:10:44 -04:00
|
|
|
= link_to destroy_user_session_path(continue: true), method: :delete, class: 'logout-link icon-button' do
|
2017-08-04 22:24:58 -04:00
|
|
|
= fa_icon 'sign-out'
|
|
|
|
|
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'
|