implements configurable schedule granularity and improves the schedule grid for denser schedule grids on smaller screens
This commit is contained in:
parent
4089f16f17
commit
ff9ca4a817
11 changed files with 56 additions and 24 deletions
|
|
@ -16,7 +16,8 @@ class EventType < ActiveRecord::Base
|
|||
alias_attribute :name, :title
|
||||
|
||||
# If LENGTH_STEP must be divisor of 60, otherwise the schedule wont be displayed properly
|
||||
LENGTH_STEP = 15
|
||||
|
||||
LENGTH_STEP = defined?(SCHEDULE_CELL_SIZE) ? SCHEDULE_CELL_SIZE : 15
|
||||
|
||||
private
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue