mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 14:38:07 +01:00
61a9018607
Follow-up to #6124
22 lines
869 B
Text
22 lines
869 B
Text
.panel
|
|
.panel-header
|
|
= succeed ':' do
|
|
= t 'about.contact'
|
|
- if contact.site_contact_email.present?
|
|
= mail_to contact.site_contact_email, nil, title: contact.site_contact_email
|
|
- else
|
|
%span= t 'about.contact_unavailable'
|
|
.panel-body
|
|
- if contact.contact_account
|
|
.owner
|
|
.avatar= image_tag contact.contact_account.avatar.url
|
|
.name
|
|
= link_to TagManager.instance.url_for(contact.contact_account) do
|
|
%span.display_name.emojify= display_name(contact.contact_account, custom_emojify: true)
|
|
%span.username @#{contact.contact_account.acct}
|
|
- else
|
|
.owner
|
|
.avatar= image_tag full_asset_url('avatars/original/missing.png', skip_pipeline: true)
|
|
.name
|
|
%span.display_name= t 'about.contact_missing'
|
|
%span.username= t 'about.contact_unavailable'
|