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
This commit is contained in:
parent
fef08bf951
commit
997dc668e0
7 changed files with 48 additions and 34 deletions
|
|
@ -24,11 +24,15 @@
|
|||
Unknown submitter
|
||||
|
||||
%td
|
||||
- event.speakers_ordered.each do |speaker|
|
||||
.speaker
|
||||
= link_to speaker.name, admin_user_path(speaker)
|
||||
- unless speaker.registrations.for_conference(event.conference)
|
||||
%span.label.label-danger Unregistered
|
||||
- if event.speakers.any?
|
||||
- event.speakers_ordered.each do |speaker|
|
||||
.speaker
|
||||
= link_to speaker.name, admin_user_path(speaker)
|
||||
- unless speaker.registrations.for_conference(event.conference)
|
||||
%span.label.label-danger Unregistered
|
||||
- else
|
||||
.small
|
||||
No Speaker
|
||||
|
||||
- if @program.languages.present?
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue