Feature #17354
User detail : show user login to admins
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | UI | |||
Target version: | 3.0.0 | |||
Resolution: | Fixed |
Description
It's only necessary to edit app/views/users/show.html.erb
And just after :
<% unless @user.pref.hide_mail %>
<li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li>
<% end %>
Add :
<% if User.current.admin? %>
<li><%=l(:field_login)%>: <%= h(@user.login) %></li>
<% end -%>
Associated revisions
User detail : show user login to admins (#17354).
Patch by Jérôme BATAILLE.
History
#1
Updated by Jan Niggemann (redmine.org team member) almost 7 years ago
Good idea!
#2
Updated by Mischa The Evil over 6 years ago
- Target version set to Unplanned backlogs
Small, simple and effective...
#3
Updated by Jean-Philippe Lang over 6 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version changed from Unplanned backlogs to 3.0.0
- Resolution set to Fixed
Committed in r13763, thanks.
#4
Updated by Jérôme BATAILLE over 6 years ago
Thanks a lot !