mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 12:01:03 +00:00
Hide staff email if set to private
This commit is contained in:
parent
cf75ec1406
commit
4cac065f63
1 changed files with 4 additions and 0 deletions
|
@ -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 %>
|
||||||
|
|
Loading…
Reference in a new issue