[feat]Description / happening now takes the entire row if the other is empty
This commit is contained in:
parent
3c7cc6cfdb
commit
02300ee8f2
2 changed files with 32 additions and 15 deletions
|
|
@ -45,10 +45,11 @@
|
|||
= render 'header', conference: @conference, venue: @conference.venue
|
||||
|
||||
-# description / happening now
|
||||
= render 'about_and_happening_now', conference: @conference,
|
||||
events_schedules: @events_schedules, pagy: @pagy,
|
||||
events_schedules_length: @events_schedules_length,
|
||||
events_schedules_limit: @events_schedules_limit
|
||||
- if @conference.splashpage.include_happening_now? || @conference.description.present?
|
||||
= render 'about_and_happening_now', conference: @conference,
|
||||
events_schedules: @events_schedules, pagy: @pagy,
|
||||
events_schedules_length: @events_schedules_length,
|
||||
events_schedules_limit: @events_schedules_limit
|
||||
|
||||
-# calls for content, or program
|
||||
- if @conference.splashpage.include_cfp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue