[fix]Fix style; Re-enable checking happening now

This commit is contained in:
Jimmy 2021-04-08 12:52:13 +08:00
parent 228ec4a650
commit bb44f10120
4 changed files with 7 additions and 19 deletions

View file

@ -54,11 +54,11 @@
- if @conference.splashpage.include_happening_now
- if @events_schedules.any?
.row
%h2.text-center{:style => "margin-bottom:30px"} Happening Now
%h2.text-center{ style: "margin-bottom:30px" } Happening Now
- for event_schedule in @events_schedules
= render 'schedules/event', conference: @conference, event_schedule: event_schedule, event: event_schedule.event
.container{:style => "margin:auto; width:50%"}
!= pagy_nav(@pagy)
.container{ style: "margin:auto; width:50%" }
!= pagy_nav(@pagy)
- else
.row
%h3.text-center There are no events happening now.
@ -66,7 +66,7 @@
.col-md-6.col-md-pull-6.col-lg-8.col-lg-pull-4
#about
.row
%h2.text-left{:style => "margin-bottom:30px"} About the Conference
%h2.text-left{ style: "margin-bottom:30px" } About the Conference
= markdown(@conference.description, escape_html=false)
.trapezoid