[feat]Splashpage will display happening next event if no event is happening now
This commit is contained in:
parent
19af4e4f12
commit
2f8cee3c4f
7 changed files with 48 additions and 8 deletions
|
|
@ -1,7 +1,11 @@
|
|||
- if conference.splashpage.include_program && conference.splashpage.include_happening_now
|
||||
- if events_schedules.any?
|
||||
.row
|
||||
%h2.text-center{ style: 'margin-bottom:30px' } Happening Now
|
||||
%h2.text-center{ style: 'margin-bottom:30px' }
|
||||
- if is_happening_next
|
||||
Happening Next
|
||||
- else
|
||||
Happening Now
|
||||
- events_schedules.each do |event_schedule|
|
||||
= render 'schedules/event', conference: conference, event_schedule: event_schedule, event: event_schedule.event, is_brief: true
|
||||
- if events_schedules_length > events_schedules_limit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue