mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Event model improvements
- Drop selected_event_schedule function - Rename scheduled_room and scheduled_start_time to room and time as if there is no selected_schedule, the event is not scheduled.
This commit is contained in:
parent
5001848af7
commit
a578167cf5
13 changed files with 32 additions and 35 deletions
|
|
@ -11,7 +11,7 @@ class SchedulesController < ApplicationController
|
|||
redirect_to events_conference_schedule_path(@conference.short_title)
|
||||
end
|
||||
|
||||
@events_xml = schedules.map(&:event).group_by{ |event| event.scheduled_start_time.to_date } if schedules
|
||||
@events_xml = schedules.map(&:event).group_by{ |event| event.time.to_date } if schedules
|
||||
@dates = @conference.start_date..@conference.end_date
|
||||
@step_minutes = EventType::LENGTH_STEP.minutes
|
||||
@conf_start = 9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue