1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-22 16:31:12 +00:00

User detail : show user login to admins (#17354).

Patch by Jérôme BATAILLE.

git-svn-id: http://svn.redmine.org/redmine/trunk@13763 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-12-14 20:47:31 +00:00
parent fe838c57ff
commit 8ac68457f5

View File

@ -6,6 +6,9 @@
<div class="splitcontentleft">
<ul>
<% if User.current.admin? %>
<li><%=l(:field_login)%>: <%= @user.login %></li>
<% end %>
<% unless @user.pref.hide_mail %>
<li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li>
<% end %>