added calendar slot_duration config (#989)

This commit is contained in:
Kevin Papst
2019-07-26 23:51:29 +02:00
committed by GitHub
parent 0d11aded40
commit 1bd784eef3
7 changed files with 13 additions and 3 deletions

View File

@@ -215,9 +215,8 @@
eventResize: changeHandler,
{% endif %}
{% endif %}
/*
slotDuration: '00:30:00', // TODO make me configurable
*/
slotDuration: '{{ config.slotDuration }}',
slotLabelInterval: '{{ config.slotDuration }}',
minTime: '{{ config.timeframeBegin }}',
maxTime: '{{ config.timeframeEnd }}',
defaultTimedEventDuration: '00:30'