osem-fcy/app/views/admin/reports/_events_without_commercials.html.haml
snpd 4b3c10f52c Supports talks without speakers
Admins may want to have discussions or any other general activity
that does not have any particular speaker. Thus, speaker validation
is removed.

Closes https://github.com/openSUSE/osem/issues/2520
2019-09-04 17:48:18 +05:30

25 lines
655 B
Text

.row
.col-md-12
.page-header
%h1
Events without commercials
= "(#{@events_missing_commercial.length})"
%p.text-muted
All submissions that have no commercial
.col-md-12
%table.datatable
%thead
%th ID
%th Title
%th Speaker(s)
%tbody
- @events_missing_commercial.each do |event|
%tr
%td= event.id
%td= link_to event.title, edit_admin_conference_program_event_path(@conference.short_title, event)
%td
- if(event.speakers.any?)
= speaker_links(event)
- else
.small
(No speaker)