From ea23d05d344afb356eab054455e7ae64f3ae592c Mon Sep 17 00:00:00 2001 From: Adriano Vieira Date: Sat, 9 Dec 2017 10:49:49 -0200 Subject: [PATCH] Change email text by an icon in proposal page - this fix #1870 --- app/views/proposals/show.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/proposals/show.html.haml b/app/views/proposals/show.html.haml index 19f9371f..5a9ffd8c 100644 --- a/app/views/proposals/show.html.haml +++ b/app/views/proposals/show.html.haml @@ -37,7 +37,8 @@ %h4 = link_to speaker.name, user_path(speaker.id) - if speaker.email_public? - = "(#{speaker.email})" + .br + = content_tag(:a, fa_icon("envelope-o"), href: "mailto:#{speaker.email}", title: "#{speaker.email}") - if speaker.affiliation? .text-muted from