From 6dfceef6b603ed91c3c9066a73fc3990b93a9a00 Mon Sep 17 00:00:00 2001 From: Nicolas ROCHE Date: Wed, 11 Jan 2023 16:11:56 +0100 Subject: [PATCH] toulouse-2022: add toulouse-maelis-enfant-agenda cell (#73285) --- static/toulouse-2022/config.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/toulouse-2022/config.json b/static/toulouse-2022/config.json index ad649904..4630dcbb 100644 --- a/static/toulouse-2022/config.json +++ b/static/toulouse-2022/config.json @@ -134,6 +134,16 @@ "log_errors": true, "cache_duration": 30, "force_async": true + }, + "toulouse-maelis-enfant-agenda": { + "cache_duration": 0, + "force_async": true, + "name": "Toulouse - Maelis: Agenda", + "url": "{{ passerelle_url }}toulouse-maelis/{{ slug }}/read-child-agenda?NameID={{ user_nameid }}&child_id={{ child_id }}{% now 'Y' as current_year %}{% now 'n' as current_month %}&start_date={% if current_month in '87654321' %}{{ current_year|add:'-1' }}{% else %}{{ current_year }}{% endif %}-09-01&end_date={% if current_month in '87654321' %}{{ current_year }}{% else %}{{ current_year|add:'1' }}{% endif %}-08-31", + "form": [ + {"label": "Identifiant du connecteur", "varname": "slug", "required": true}, + {"label": "URL de la démarche de réservation", "varname": "form_url", "required": true} + ] } } }