Show More
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml * bootrapize the user_admin * now considering user.enabled * tidy up route
File last commit:
Show/Diff file:
Action:
app/views/user_admin/active.html.haml | 19 lines | 333 B | text/x-haml | HamlLexer |
%h1 Active users
%i
I.e., those users that interacts with the system with in the last 60 minutes.
%br/
= link_to '[go back to index]', :action => 'index'
%table
%tr
%th #
%th login
%th full name
- counter = 0
- for user in @users
%tr
%td= counter += 1
%td= user.login
%td= user.full_name