2017-08-04 22:24:58 -04:00
|
|
|
- content_for :header_tags do
|
|
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
|
|
|
|
|
|
|
- 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
|
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
|
2018-01-01 23:07:56 -05:00
|
|
|
.modal-layout__mastodon
|
|
|
|
%div
|
2017-08-04 22:24:58 -04:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|