debian: custom cells for caluire (#55527)
This commit is contained in:
parent
f1be8e26f3
commit
06c461e098
|
@ -480,10 +480,24 @@ JSON_CELL_TYPES = {
|
|||
"name": "Fiche RSJ",
|
||||
"cache_duration": 120,
|
||||
},
|
||||
"caluire-liste-enfants": {
|
||||
"cache_duration": 0,
|
||||
"caluire-famille": {
|
||||
"cache_duration": 30,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Liste des enfants",
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Infos famille",
|
||||
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/family_info?NameID={{ user_nameid }}",
|
||||
"form": [{"label": "Identifiant du connecteur", "varname": "slug", "required": True}],
|
||||
},
|
||||
"caluire-responsables": {
|
||||
"cache_duration": 30,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Infos responsables",
|
||||
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/family_info?NameID={{ user_nameid }}",
|
||||
"form": [{"label": "Identifiant du connecteur", "varname": "slug", "required": True}],
|
||||
},
|
||||
"caluire-liste-enfants": {
|
||||
"cache_duration": 30,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Liste des enfants (repeat)",
|
||||
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/children_info?NameID={{ user_nameid }}",
|
||||
"make_global": "list_children",
|
||||
"form": [{"label": "Identifiant du connecteur", "varname": "slug", "required": True}],
|
||||
|
@ -491,7 +505,7 @@ JSON_CELL_TYPES = {
|
|||
"caluire-enfant": {
|
||||
"cache_duration": 0,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Enfant",
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Enfant (repeat)",
|
||||
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/child_info?NameID={{ user_nameid }}&idpersonne={{ list_children.data|get:repeat_index|get:'id' }}",
|
||||
"repeat": "{{ list_children.data|length }}",
|
||||
"additional-data": [
|
||||
|
@ -508,7 +522,25 @@ JSON_CELL_TYPES = {
|
|||
],
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": True},
|
||||
{"label": "Gabarit d’affichage", "varname": "template_string", "type": "text", "required": False},
|
||||
],
|
||||
},
|
||||
"caluire-enfant-detail": {
|
||||
"cache_duration": 30,
|
||||
"force_async": True,
|
||||
"name": "Caluire-et-Cuire - Teamnet Axel: Enfant",
|
||||
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/child_info?NameID={{ user_nameid }}&idpersonne={{ child_id }}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": True},
|
||||
],
|
||||
},
|
||||
"caluire-enfant-prochaines-inscriptions": {
|
||||
"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' %}",
|
||||
"form": [
|
||||
{"label": "Identifiant du connecteur", "varname": "slug", "required": True},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue