Implements instance dashboard

This commit is contained in:
Chrisbr 2014-06-16 13:51:43 +02:00
parent 61c066df87
commit 4abd5d2185
18 changed files with 970 additions and 217 deletions

View file

@ -1,18 +1,19 @@
- if recent_registrations && !recent_registrations.empty?
%table.table
%thead
%tr
%th #
%th Public Name
%th Conference
%th Date
- recent_registrations.each_with_index do |registration, index|
%tbody
%tr
%td #{index + 1}
%td #{registration.public_name}
%td #{registration.conference.title}
%td #{registration.created_at.strftime('%m/%d/%Y')}
.table-responsive
%table.table
%thead
%tr
%th #
%th Public Name
%th Conference
%th Date
- recent_registrations.each_with_index do |registration, index|
%tbody
%tr
%td #{index + 1}
%td #{registration.public_name}
%td #{registration.conference.title}
%td #{registration.created_at.strftime('%m/%d/%Y')}
- else
%h5.text-warning.text-center
No registrations!