[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
|
||||
.row
|
||||
-# 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?
|
||||
.col-md-6.col-md-push-6.col-lg-4.col-lg-push-8
|
||||
= yield :happening_now
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
- if conference.splashpage.include_program && conference.splashpage.include_happening_now
|
||||
- if events_schedules.any?
|
||||
- if events_schedules.any?
|
||||
.row
|
||||
%h2.text-center{ style: 'margin-bottom:30px' }
|
||||
- if is_happening_next
|
||||
|
|
@ -11,6 +10,6 @@
|
|||
- if events_schedules_length > events_schedules_limit
|
||||
.container{ style: 'width:100%; text-align:center' }
|
||||
!= pagy_bootstrap_nav_js(pagy)
|
||||
- else
|
||||
- else
|
||||
.row
|
||||
%h3.text-center There are no events scheduled yet.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue