mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 20:24:03 +00:00
Also, in events#show and proposals#index It is more relevant to check if the speakers have registered to the conference and filled their biographies than the submitter, because, there can be multiple speakers and the submitter isn't necessarily one of them And, remove admin/events/reports.html.haml, since, it isn't used anymore Fix #1477, fix #1479
42 lines
1.4 KiB
Text
42 lines
1.4 KiB
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
All Events
|
|
= "(#{@events.length})"
|
|
%p.text-muted
|
|
All submissions and the information that they are mssing
|
|
|
|
.col-md-12
|
|
%table.table.table-striped.table-bordered.table-hover.datatable
|
|
%thead
|
|
%th ID
|
|
%th Title
|
|
%th Speakers Registered
|
|
%th Speakers Biographies
|
|
%th Commercial
|
|
%th Subtitle
|
|
%th Difficulty Level
|
|
- if @program.tracks.any?
|
|
%th Track
|
|
%tbody
|
|
- @events.each do |event|
|
|
%tr
|
|
- progress_status = event.progress_status
|
|
%td= event.id
|
|
%td
|
|
= link_to event.title, edit_admin_conference_program_event_path(@conference.short_title, event)
|
|
%br
|
|
.small
|
|
(Presented by
|
|
= speaker_links(event)
|
|
)
|
|
|
|
- %w(registered biographies commercials subtitle difficulty_level).each do |info|
|
|
%td{'data-order' => "#{progress_status[info]}"}
|
|
%span{class: class_for_todo(progress_status[info])}
|
|
%span{class: [icon_for_todo(progress_status[info]), 'fa-lg']}
|
|
- if @program.tracks.any?
|
|
%td{'data-order' => "#{progress_status['track']}"}
|
|
%span{class: class_for_todo(progress_status['track'])}
|
|
%span{class: [icon_for_todo(progress_status['track']), 'fa-lg']}
|