about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorLynx Kotoura <lynx@lv9.org>2017-07-30 19:56:04 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-30 12:56:04 +0200
commitea33cdc30bb5ddef8016ce65595af4a6087bac60 (patch)
treee17b5e2c73e57aebd7976c8572c7d9f5982a993a /app/views/about
parent579e85f60624860c67f8c5d31ab393f3b506b24c (diff)
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
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/_contact.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/about/_contact.html.haml b/app/views/about/_contact.html.haml
index 822639962..81b7db61f 100644
--- a/app/views/about/_contact.html.haml
+++ b/app/views/about/_contact.html.haml
@@ -2,7 +2,7 @@
   .panel-header
     = succeed ':' do
       = 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
     - if contact.contact_account
       .owner