mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add schedule interval as attribute of a program
Also, the part of the schedule event is deleted and the length of the event types changes to the nearest suitable after changing the length of the interval. This closes #1220
This commit is contained in:
parent
d1bf19867c
commit
f6e74461ba
19 changed files with 104 additions and 35 deletions
|
|
@ -13,7 +13,7 @@ class SchedulesController < ApplicationController
|
|||
|
||||
@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
|
||||
@step_minutes = @program.schedule_interval.minutes
|
||||
@conf_start = @conference.start_hour
|
||||
@conf_period = @conference.end_hour - @conf_start
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue