[feat]Display happening now only if program is also displayed

This commit is contained in:
Jimmy 2021-04-10 00:44:42 +08:00 committed by CactusPuppy
parent 497818cc45
commit fec78dccce
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
5 changed files with 15 additions and 16 deletions

View file

@ -1,4 +1,4 @@
- if conference.splashpage.include_happening_now
- if conference.splashpage.include_program && conference.splashpage.include_happening_now
- if events_schedules.any?
.row
%h2.text-center{ style: 'margin-bottom:30px' } Happening Now