[fix]Remove unnecessary check in happening_now partial
This commit is contained in:
parent
25af76d27a
commit
15f30190e4
2 changed files with 16 additions and 17 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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' }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue