Project

General

Profile

Actions

Feature #17354

closed

User detail : show user login to admins

Added by Jérôme BATAILLE almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
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 -%>
Actions #2

Updated by Mischa The Evil over 9 years ago

  • Target version set to Unplanned backlogs

Small, simple and effective...

Actions #3

Updated by Jean-Philippe Lang over 9 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 #4

Updated by Jérôme BATAILLE over 9 years ago

Thanks a lot !

Actions

Also available in: Atom PDF