This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-04-15 13:33:25 +02:00
|
|
|
.panel
|
2017-07-24 15:09:08 +02:00
|
|
|
.panel-header
|
|
|
|
= succeed ':' do
|
|
|
|
= t 'about.contact'
|
2017-07-30 16:24:18 +02:00
|
|
|
- if contact.site_contact_email.present?
|
|
|
|
= mail_to contact.site_contact_email, nil, title: contact.site_contact_email
|
|
|
|
- else
|
|
|
|
%span= t 'about.contact_unavailable'
|
2017-04-15 13:33:25 +02:00
|
|
|
.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
|
2018-05-06 11:48:51 +02:00
|
|
|
%span.display_name.emojify= display_name(contact.contact_account, custom_emojify: true)
|
2017-05-08 03:35:25 +02:00
|
|
|
%span.username @#{contact.contact_account.acct}
|
2017-07-24 15:09:08 +02:00
|
|
|
- else
|
|
|
|
.owner
|
2017-07-24 17:15:15 +02:00
|
|
|
.avatar= image_tag full_asset_url('avatars/original/missing.png', skip_pipeline: true)
|
2017-07-24 15:09:08 +02:00
|
|
|
.name
|
|
|
|
%span.display_name= t 'about.contact_missing'
|
|
|
|
%span.username= t 'about.contact_unavailable'
|