Merged Mythic's changes.
Some checks are pending
Specs / linters (push) Waiting to run
Specs / spec (push) Blocked by required conditions
Specs / spec-1 (push) Blocked by required conditions
Specs / spec-2 (push) Blocked by required conditions
Specs / spec-3 (push) Blocked by required conditions
Specs / spec-4 (push) Blocked by required conditions

This commit is contained in:
gunghogeoduck 2026-08-19 00:29:55 -04:00
parent ef82ef8941
commit 68c5f5e32b
27 changed files with 24 additions and 31 deletions

View file

@ -21,7 +21,6 @@
/ scheduled events
- date = nil
- time = nil
- @events_schedules.each do |event_schedule|
- unless event_schedule.start_time.strftime('%Y-%m-%d').eql?(date)
.col-xs-12.col-md-12
@ -30,15 +29,11 @@
= date = event_schedule.start_time.strftime('%Y-%m-%d')
%a{ title: "Go up", class: "pull-right", href: "#program" }
%i{ class: "fa-solid fa-angles-up fa-lg", 'aria-hidden' => true }
- unless event_schedule.start_time.strftime('%H:%M').eql?(time)
.col-xs-12.col-md-1
.start-time
= time = event_schedule.start_time.strftime('%H:%M')
.col-xs-12.col-md-11
.new-time-event
= render partial: 'event', locals: { event: event_schedule.event, event_schedule: event_schedule }
- else
.col-xs-12.col-md-11.col-md-offset-1
.col-xs-12.col-md-1
.start-time
= event_schedule.start_time.strftime('%-I:%M %p')
.col-xs-12.col-md-11
.new-time-event
= render partial: 'event', locals: { event: event_schedule.event, event_schedule: event_schedule }
/ confirmed events that are not scheduled