From ea33cdc30bb5ddef8016ce65595af4a6087bac60 Mon Sep 17 00:00:00 2001 From: Lynx Kotoura Date: Sun, 30 Jul 2017 19:56:04 +0900 Subject: 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 --- app/views/about/_contact.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/about/_contact.html.haml') 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 -- cgit