2017-08-05 05:24:58 +03:00
|
|
|
- content_for :content do
|
|
|
|
- if user_signed_in?
|
|
|
|
.account-header
|
|
|
|
.avatar= image_tag current_account.avatar.url(:original)
|
|
|
|
.name
|
|
|
|
= t 'users.signed_in_as'
|
|
|
|
%span.username @#{current_account.local_username_and_domain}
|
|
|
|
= link_to destroy_user_session_path, method: :delete, class: 'logout-link icon-button' do
|
|
|
|
= fa_icon 'sign-out'
|
|
|
|
|
2018-02-22 04:04:27 +02:00
|
|
|
.container-alt= yield
|
2018-01-02 06:07:56 +02:00
|
|
|
.modal-layout__mastodon
|
|
|
|
%div
|
2017-08-05 05:24:58 +03:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|