debian: add agenda cells for caluire (#55585)
This commit is contained in:
parent
06c461e098
commit
d827b280d5
|
@ -537,8 +537,33 @@ JSON_CELL_TYPES = {
|
|||
"cache_duration": 0,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Prochaines inscriptions",
|
||||
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/child_activities_info?NameID={{ user_nameid }}&idpersonne={{ child_id }}"
|
||||
"&schooling_date={% now 'Y' as current_year %}{{ current_year|add:'1' }}-{% now 'm-d' %}",
|
||||
"url": "{% now 'n' as current_month %}{% if current_month in '678' %}"
|
||||
"{{ passerelle_url }}caluire-axel/{{ slug }}/child_activities_info?NameID={{ user_nameid }}&idpersonne={{ child_id }}"
|
||||
"&schooling_date={% now 'Y' as current_year %}{{ current_year|add:'1' }}-{% now 'm-d' %}{% endif %}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": True},
|
||||
],
|
||||
},
|
||||
"caluire-enfant-agenda": {
|
||||
"cache_duration": 0,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Agenda",
|
||||
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/get_agenda_full?NameID={{ user_nameid }}&idpersonne={{ 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},
|
||||
],
|
||||
},
|
||||
"caluire-enfant-agenda-next-year": {
|
||||
"cache_duration": 0,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Agenda prochaine année scolaire",
|
||||
"url": "{% now 'Y' as current_year %}{% now 'n' as current_month %}{% if current_month in '678' %}"
|
||||
"{{ passerelle_url }}caluire-axel/{{ slug }}/get_agenda_full?NameID={{ user_nameid }}&idpersonne={{ child_id }}"
|
||||
"&start_date={% if current_month in '87654321' %}{{ current_year }}{% else %}{{ current_year|add:'1' }}{% endif %}-09-01"
|
||||
"&end_date={% if current_month in '87654321' %}{{ current_year|add:'1' }}{% else %}{{ current_year|add:'2' }}{% endif %}-08-31{% endif %}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": True},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue