show happening now and happening next on the events page

This commit is contained in:
rajavi-mishra 2021-04-21 09:01:12 -07:00 committed by CactusPuppy
parent fd96f3d937
commit 312d3e3a23
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 27 additions and 1 deletions

View file

@ -52,7 +52,7 @@
- @event.volunteers.each do |volunteer|
= render 'volunteer_info', speaker: volunteer, show_bio: false
.col-md-9
.col-md-6
.row
.col-md-12
.lead
@ -140,6 +140,14 @@
.page-header
= render partial: 'surveys/list', locals: { surveys: @surveys_after_event, conference: @conference }
.col-md-3
#happening-now
= render 'conferences/happening_now', conference: @conference,
events_schedules: @events_schedules, pagy: @pagy,
events_schedules_length: @events_schedules_length,
events_schedules_limit: @events_schedules_limit,
is_happening_next: @is_happening_next
- if @event.committee_review.present? || @event.submission_text.present? && can?(:edit, @event)
%hr
%p Information for event authors only: