<%= link_to user.login, :action => 'edit', :id => user %> | <%= user.firstname %> | <%= user.lastname %> | <%= user.mail %> | <%= image_tag('true.png') if user.admin? %> | <%= format_time(user.created_on) %> | <%= format_time(user.last_login_on) unless user.last_login_on.nil? %> | <% if user.locked? -%> <%= link_to l(:button_unlock), {:action => 'edit', :id => user, :user => {:status => User::STATUS_ACTIVE}}, :method => :post, :class => 'icon icon-unlock' %> <% elsif user.registered? -%> <%= link_to l(:button_activate), {:action => 'edit', :id => user, :user => {:status => User::STATUS_ACTIVE}}, :method => :post, :class => 'icon icon-unlock' %> <% else -%> <%= link_to l(:button_lock), {:action => 'edit', :id => user, :user => {:status => User::STATUS_LOCKED}}, :method => :post, :class => 'icon icon-lock' %> <% end -%> |
<%= pagination_links_full @user_pages, @user_count %>
<% html_title(l(:label_user_plural)) -%>