[feat]Center happening now events on the splashpage

This commit is contained in:
Jimmy 2021-04-07 11:00:03 +08:00 committed by CactusPuppy
parent 3b96d9e63e
commit 71d926b4a0
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 4 additions and 5 deletions

View file

@ -47,14 +47,13 @@
-# happening now events
- if @conference.splashpage.include_happening_now
- if @events_schedules.any?
- for event_schedule in @events_schedules
.container
.container{style: "padding: 20;"}
- for event_schedule in @events_schedules
= render 'schedules/event', conference: @conference, event_schedule: event_schedule, event: event_schedule.event
- else
.row
.col-md-12
#happening_now_panel
%h3.text-center There are no events happening now.
%h3.text-center There are no events happening now.
-# calls for content, or program
- if @conference.splashpage.include_cfp