1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 14:58:38 +09:00

Set contact address in about/more as mailto link (#4450)

* Set contact address as mailto link

To be able to copy long email address

* Set style for mailto link
This commit is contained in:
Lynx Kotoura 2017-07-30 19:56:04 +09:00 committed by Eugen Rochko
parent 579e85f606
commit ea33cdc30b
2 changed files with 3 additions and 2 deletions

View File

@ -147,9 +147,10 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
span { a {
font-weight: 400; font-weight: 400;
color: lighten($ui-base-color, 34%); color: lighten($ui-base-color, 34%);
text-decoration: none;
} }
} }
} }

View File

@ -2,7 +2,7 @@
.panel-header .panel-header
= succeed ':' do = succeed ':' do
= t 'about.contact' = t 'about.contact'
%span{ title: contact.site_contact_email.presence }= contact.site_contact_email.presence = mail_to contact.site_contact_email.presence, nil, :title => contact.site_contact_email.presence
.panel-body .panel-body
- if contact.contact_account - if contact.contact_account
.owner .owner