From 1754f670d6c42cbda7580e582db1415ec604cbb9 Mon Sep 17 00:00:00 2001 From: AlexandreJunod Date: Wed, 22 May 2024 13:33:26 +0200 Subject: [PATCH] WIP --- .env.example | 5 +++++ components/atoms/Modal.vue | 16 +++++++++---- components/calendar/Calendar.vue | 35 +++++++++++++++++++++++++---- components/map/Map.vue | 2 +- deploy_configurations/env.app | 5 +++++ deploy_configurations/env.fribourg | 7 +++++- deploy_configurations/env.polcom | 19 ++++++++++++++++ deploy_configurations/env.roadworks | 5 +++++ deploy_configurations/env.ycal | 7 +++++- locales/fr.json | 8 +++---- 10 files changed, 94 insertions(+), 15 deletions(-) create mode 100644 deploy_configurations/env.polcom diff --git a/.env.example b/.env.example index 64b3697..bc569b5 100644 --- a/.env.example +++ b/.env.example @@ -13,3 +13,8 @@ DEFAULT_VIEW='calendar' DISPLAY_FOOTER_AND_HEADER=true DEFAULT_CALENDAR_MODE='default' MOCK= +# To show only events between 05:00 and 00:00 you can chose DAY_SPLIT_START=5 and DAY_SPLIT_END=24 +# Chose a value between 0 and 24 (integer). 0 Means 00:00 at the beginning of day, 24 means 00:00 at the end of the day +# default let it empty. It's shows by default between 0 and 24 +DAY_SPLIT_START= +DAY_SPLIT_END= \ No newline at end of file diff --git a/components/atoms/Modal.vue b/components/atoms/Modal.vue index 20c9411..d1366de 100644 --- a/components/atoms/Modal.vue +++ b/components/atoms/Modal.vue @@ -22,13 +22,21 @@