debian: declare custom cells to display a tile per child (#54252)
This commit is contained in:
parent
65e5f599df
commit
abb766287f
|
@ -480,6 +480,37 @@ JSON_CELL_TYPES = {
|
||||||
"name": "Fiche RSJ",
|
"name": "Fiche RSJ",
|
||||||
"cache_duration": 120,
|
"cache_duration": 120,
|
||||||
},
|
},
|
||||||
|
"caluire-liste-enfants": {
|
||||||
|
"cache_duration": 0,
|
||||||
|
"force_async": True,
|
||||||
|
"name": "Caluire-et-Cuire - Teamnet Axel: Liste des enfants",
|
||||||
|
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/children_info?NameID={{ user_nameid }}",
|
||||||
|
"make_global": "list_children",
|
||||||
|
"form": [{"label": "Identifiant du connecteur", "varname": "slug", "required": True}],
|
||||||
|
},
|
||||||
|
"caluire-enfant": {
|
||||||
|
"cache_duration": 0,
|
||||||
|
"force_async": True,
|
||||||
|
"name": "Caluire-et-Cuire - Teamnet Axel: Enfant",
|
||||||
|
"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": [
|
||||||
|
{
|
||||||
|
"key": "schooling",
|
||||||
|
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/child_schooling_info?"
|
||||||
|
"NameID={{ user_nameid }}&idpersonne={{ list_children.data|get:repeat_index|get:'id' }}&schooling_date={% now 'Y-m-d' %}",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "activities",
|
||||||
|
"url": "{{ passerelle_url }}caluire-axel/{{ slug }}/child_activities_info?"
|
||||||
|
"NameID={{ user_nameid }}&idpersonne={{ list_children.data|get:repeat_index|get:'id' }}&schooling_date={% now 'Y-m-d' %}",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"form": [
|
||||||
|
{"label": "Identifiant du connecteur", "varname": "slug", "required": True},
|
||||||
|
{"label": "Gabarit d’affichage", "varname": "template_string", "type": "text", "required": False},
|
||||||
|
],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
COMBO_ASSET_SLOTS = {
|
COMBO_ASSET_SLOTS = {
|
||||||
|
|
Loading…
Reference in New Issue