Adapt admin schedule to use the confence hours
This commit is contained in:
parent
9b9d255e3b
commit
7eb9a57c34
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
.room-name
|
||||
- room_date_event_schedules = date_event_schedules.select{ |e| e.room == room }
|
||||
= room.name
|
||||
- (9*cells_per_hour..18*cells_per_hour).each do |slot|
|
||||
- (@conference.start_hour * cells_per_hour..@conference.end_hour * cells_per_hour).each do |slot|
|
||||
- hour = slot / cells_per_hour
|
||||
- minutes = (EventType::LENGTH_STEP * (slot % cells_per_hour)).to_s.rjust(2, '0')
|
||||
- time = "#{hour}:#{minutes}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue