Actions
Feature #17354
closedUser detail : show user login to admins
Start date:
Due date:
% Done:
0%
Estimated time:
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 -%>
Updated by Mischa The Evil over 10 years ago
- Target version set to Unplanned backlogs
Small, simple and effective...
Updated by Jean-Philippe Lang about 10 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.
Actions