This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2017-08-04 19:24:58 -07:00
|
|
|
- content_for :header_tags do
|
2020-11-06 02:56:31 -08:00
|
|
|
= javascript_pack_tag 'public', crossorigin: 'anonymous'
|
2017-08-04 19:24:58 -07:00
|
|
|
|
|
|
|
- content_for :content do
|
2018-08-17 18:03:12 -07:00
|
|
|
- if user_signed_in? && !@hide_header
|
2017-08-04 19:24:58 -07: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 19:10:44 -07:00
|
|
|
= link_to destroy_user_session_path(continue: true), method: :delete, class: 'logout-link icon-button' do
|
2018-09-27 17:11:14 -07:00
|
|
|
= fa_icon 'sign-out'
|
2017-08-04 19:24:58 -07:00
|
|
|
|
2018-02-21 18:04:27 -08:00
|
|
|
.container-alt= yield
|
2018-01-01 20:07:56 -08:00
|
|
|
.modal-layout__mastodon
|
|
|
|
%div
|
2017-08-04 19:24:58 -07:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|