2014-06-04 16:11:33 +02:00
|
|
|
- if recent_events && !recent_events.empty?
|
2014-06-16 13:51:43 +02:00
|
|
|
.table-responsive
|
|
|
|
|
%table.table
|
|
|
|
|
%thead
|
|
|
|
|
%tr
|
|
|
|
|
%th #
|
|
|
|
|
%th Submitter
|
|
|
|
|
%th Title
|
|
|
|
|
%th Conference
|
|
|
|
|
%th Status
|
|
|
|
|
- recent_events.each_with_index do |event, index|
|
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
2014-08-06 22:23:10 +03:00
|
|
|
%td= index + 1
|
2014-07-25 01:17:47 +03:00
|
|
|
- if event.submitter
|
2014-08-06 22:23:10 +03:00
|
|
|
%td= link_to event.submitter.name, admin_user_path(event.submitter.id)
|
2014-07-25 01:17:47 +03:00
|
|
|
- else
|
|
|
|
|
%td Unknown Submitter
|
2015-10-25 13:29:02 +02:00
|
|
|
%td= link_to event.title, admin_conference_program_event_path(event.program.conference.short_title, event)
|
|
|
|
|
%td= link_to event.program.conference.title, admin_conference_path(event.program.conference.short_title)
|
2014-06-16 13:51:43 +02:00
|
|
|
%td
|
2017-03-11 13:25:39 +05:30
|
|
|
.span{ 'class' => label_for(event.state) } #{event.state.humanize}
|
2014-06-04 16:11:33 +02:00
|
|
|
- else
|
|
|
|
|
%h5.text-warning.text-center
|
2014-06-23 19:07:50 +03:00
|
|
|
No submissions!
|