[fix]Remove unnecessary check in happening_now partial

This commit is contained in:
Jimmy 2021-04-22 00:59:38 +08:00 committed by CactusPuppy
parent 25af76d27a
commit 15f30190e4
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 16 additions and 17 deletions

View file

@ -15,7 +15,7 @@
.container .container
.row .row
-# happening now events are displayed second in md or lg view -# happening now events are displayed second in md or lg view
- if conference.splashpage.include_happening_now && conference.splashpage.include_program - if conference.splashpage.include_happening_now? && conference.splashpage.include_program?
- if conference.description.present? - if conference.description.present?
.col-md-6.col-md-push-6.col-lg-4.col-lg-push-8 .col-md-6.col-md-push-6.col-lg-4.col-lg-push-8
= yield :happening_now = yield :happening_now

View file

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