mirror of
https://github.com/whippyshou/mastodon
synced 2024-12-13 06:09:02 +09:00
ea33cdc30b
* Set contact address as mailto link To be able to copy long email address * Set style for mailto link
20 lines
767 B
Plaintext
20 lines
767 B
Plaintext
.panel
|
|
.panel-header
|
|
= succeed ':' do
|
|
= t 'about.contact'
|
|
= mail_to contact.site_contact_email.presence, nil, :title => contact.site_contact_email.presence
|
|
.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)
|
|
%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'
|