2014-06-04 16:11:33 +02:00
|
|
|
- if recent_registrations && !recent_registrations.empty?
|
2014-06-16 13:51:43 +02:00
|
|
|
.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}
|
2014-06-23 19:07:50 +03:00
|
|
|
%td #{registration.name}
|
2014-06-16 13:51:43 +02:00
|
|
|
%td #{registration.conference.title}
|
|
|
|
|
%td #{registration.created_at.strftime('%m/%d/%Y')}
|
2014-06-04 16:11:33 +02:00
|
|
|
- else
|
|
|
|
|
%h5.text-warning.text-center
|
2014-06-23 19:07:50 +03:00
|
|
|
No registrations!
|