Hide staff email if set to private

This commit is contained in:
Absurdon 2017-10-15 20:17:30 +02:00
parent cf75ec1406
commit 4cac065f63

View file

@ -41,7 +41,11 @@
<tr> <tr>
<td class="country"><%= flag grouper.user.country %></td> <td class="country"><%= flag grouper.user.country %></td>
<td class="username"><%= namelink grouper.user %></td> <td class="username"><%= namelink grouper.user %></td>
<% if grouper.user.public_email %>
<td><%= h grouper.user.email_s %></td> <td><%= h grouper.user.email_s %></td>
<% else %>
<td></td>
<% end %>
<td> <td>
<% if grouper.task %> <% if grouper.task %>
<%= h grouper.task %> <%= h grouper.task %>