% unless (@users.count.zero?) -%>
Owner | Last updated | Activated? | Remembered? | Password reset? | Actions |
---|---|---|---|---|---|
<%= h(user.real_name) %> <%= h(user.email) %> |
<%= user.updated_at %> | <%= boolean_cell(user.activated_at) %> <%= expired_cell(user.remember_token_expires_at) %> <%= expired_cell(user.password_reset_code_expires_at) %> <%= list_actions(user) %>
<%= will_paginate @users %> <% if @users.total_pages > 1 -%> <%= link_to("All", :page => 0) %> <% elsif (params.has_key?(:page) && params[:page] == '0') -%> <%= link_to("Paged") %> <% end -%>
<% else -%>There are no users currently active. Since this view should only be accessible by logging in, there is either a fault in the access model or in the session enumeration mechanism.
<% end -%>When you've finished listing active users, you can <%= link_to 'return to the control panel', :controller => 'tasks', :action => nil %>.