use name instead of login for user

Signed-off-by: Florian Kraft <f.kraft@finn.de>
pull/3000/head
Florian Kraft 10 years ago
parent 6dc12cfb35
commit 5277d643f7
  1. 3
      app/views/users/_toolbar.html

@ -1,8 +1,7 @@
<div class="toolbar-container">
<div id="toolbar">
<div class="title-container">
<h2><%= link_to l(:label_user_plural), :controller => '/users', :action => 'index' %> &#187; <%= new_user ? l("label_user_new") : @user.login %></h2>
<h2><%= link_to l(:label_user_plural), :controller => '/users', :action => 'index' %> &#187; <%= new_user ? l("label_user_new") : @user.name %></h2>
</div>
<% unless new_user %>
<ul id="toolbar-items">

Loading…
Cancel
Save