From 4cac065f63fc5fdd518f305c8813b0aa008d8ab0 Mon Sep 17 00:00:00 2001 From: Absurdon Date: Sun, 15 Oct 2017 20:17:30 +0200 Subject: [PATCH] Hide staff email if set to private --- app/views/about/staff.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/about/staff.html.erb b/app/views/about/staff.html.erb index 02c441a..154abb8 100644 --- a/app/views/about/staff.html.erb +++ b/app/views/about/staff.html.erb @@ -41,7 +41,11 @@ <%= flag grouper.user.country %> <%= namelink grouper.user %> + <% if grouper.user.public_email %> <%= h grouper.user.email_s %> + <% else %> + + <% end %> <% if grouper.task %> <%= h grouper.task %>