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
4b3c10f52c
7 changed files with 54 additions and 34 deletions
|
|
@ -15,7 +15,11 @@
|
|||
%small
|
||||
= event.subtitle
|
||||
%h4
|
||||
presented by #{event.speaker_names}
|
||||
- if(event.speakers.any?)
|
||||
presented by #{event.speaker_names}
|
||||
- else
|
||||
.small
|
||||
(No speaker)
|
||||
%p
|
||||
= markdown(truncate(event.abstract, length: 400))
|
||||
= link_to 'more', conference_program_proposal_path(@conference.short_title, event.id) if event.abstract.length > 400
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue