Talk boxes with less information and schedule view simplified

This commit is contained in:
Ana 2016-06-01 11:22:22 +02:00
parent 6ba3512d2b
commit 2905c8858c
8 changed files with 38 additions and 31 deletions

View file

@ -15,6 +15,12 @@ class ConferenceController < ApplicationController
@rooms = @conference.venue.rooms if @conference.venue
@events = @conference.program.events
@dates = @conference.start_date..@conference.end_date
@start_hour = 9
@end_hour = 19
@intervals = (@end_hour - @start_hour) * 60 / EventType::LENGTH_STEP
@width = 95 / @intervals
@step_minutes = EventType::LENGTH_STEP.minutes
if @dates == Date.current
@today = Date.current.strftime('%Y-%m-%d')
else