[fix]Remove unnecessary check in happening_now partial

This commit is contained in:
Jimmy 2021-04-22 00:59:38 +08:00
parent 83e7321b69
commit 74437ab1e5
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6
2 changed files with 16 additions and 17 deletions

View file

@ -16,7 +16,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' }