Count events, users, people and use datatables for them.

Show event types.
Add proposal#show.
This commit is contained in:
Henne Vogelsang 2013-05-07 13:22:45 +02:00 committed by Henne Vogelsang
parent a557f3750e
commit 200a701861
8 changed files with 131 additions and 7 deletions

View file

@ -1,7 +1,11 @@
.container-fluid
.row-fluid
.span12
%table.table.table-striped.table-bordered.table-hover
%h2
Users
- if @users
= "(#{@users.length})"
%table.table.table-striped.table-bordered.table-hover#users
%thead
%th
%b Email
@ -55,3 +59,9 @@
"data-content" => user.popup_details,
"data-original-title" => ""
:javascript
$(document).ready(function() {
$('#users').dataTable( {
sPaginationType: "full_numbers"
} );
} );