From 5efeb9a9807d64003a7ba5337819a1536b0dcc1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laur=C3=A9line=20Gu=C3=A9rin?= Date: Mon, 12 Jul 2021 15:25:29 +0200 Subject: [PATCH] toodego: add templates for caluire (#55517) --- .../combo/json/caluire-enfant-detail.html | 4 +++ ...aluire-enfant-prochaines-inscriptions.html | 9 ++++++ .../toodego/combo/json/caluire-enfant.html | 32 +++++++++++++++++++ .../toodego/combo/json/caluire-famille.html | 14 ++++++++ .../combo/json/caluire-responsables.html | 16 ++++++++++ 5 files changed, 75 insertions(+) create mode 100644 templates/variants/toodego/combo/json/caluire-enfant-detail.html create mode 100644 templates/variants/toodego/combo/json/caluire-enfant-prochaines-inscriptions.html create mode 100644 templates/variants/toodego/combo/json/caluire-enfant.html create mode 100644 templates/variants/toodego/combo/json/caluire-famille.html create mode 100644 templates/variants/toodego/combo/json/caluire-responsables.html diff --git a/templates/variants/toodego/combo/json/caluire-enfant-detail.html b/templates/variants/toodego/combo/json/caluire-enfant-detail.html new file mode 100644 index 00000000..2176801c --- /dev/null +++ b/templates/variants/toodego/combo/json/caluire-enfant-detail.html @@ -0,0 +1,4 @@ +

{{ json.data.PRENOM }} {{ json.data.NOM }}

+
+

Des informations complémentaires sur votre enfant sont disponibles ci-dessous.

+
diff --git a/templates/variants/toodego/combo/json/caluire-enfant-prochaines-inscriptions.html b/templates/variants/toodego/combo/json/caluire-enfant-prochaines-inscriptions.html new file mode 100644 index 00000000..d47065bb --- /dev/null +++ b/templates/variants/toodego/combo/json/caluire-enfant-prochaines-inscriptions.html @@ -0,0 +1,9 @@ +{% now "n" as current_month %}{% if current_month in "678" %} +

Prochaines inscriptions

+ +
+{% for activity in json.data.ACTIVITE %} +

{{ activity.LIBELLEACTIVITE }}

+{% endfor %} +
+{% endif %} diff --git a/templates/variants/toodego/combo/json/caluire-enfant.html b/templates/variants/toodego/combo/json/caluire-enfant.html new file mode 100644 index 00000000..1ae40ab3 --- /dev/null +++ b/templates/variants/toodego/combo/json/caluire-enfant.html @@ -0,0 +1,32 @@ +{% with child=json %} +

{{ child.data.text }}

+
+
+

Informations sur votre enfant

+ Date de naissance : {{ child.data.NAISSANCE|date }}
+ Genre : {% if child.data.SEXE == 'F' %}Féminin{% else %}Masculin{% endif %}
+ {% if schooling.data.SCOLAIRE %} + Ecole : {{ schooling.data.SCOLAIRE.LIBELLEECOLE }}
+ Classe : {{ schooling.data.SCOLAIRE.IDENTNIVEAU }}
+

Modifier une donnée de santé

+{% endif %} +
+

Les inscriptions en cours

+ {% for activity in activities.data.ACTIVITE %} +

+ {{ activity.LIBELLEACTIVITE }}
+ {% if activity.ENTREE and activity.SORTIE%} + Du {{ activity.ENTREE|date:"d/m/Y" }} au {{ activity.SORTIE|date:"d/m/Y" }} + {% elif activity.ENTREE %} + A partir du {{ activity.ENTREE|date:"d/m/Y" }} + {% elif activity.SORTIE %} + Jusqu'au {{ activity.SORTIE|date:"d/m/Y" }} + {% endif %} +

+ {% endfor %} +

+{% now "n" as current_month %} +{% if current_month in "678" %}Inscriptions de l'an prochain{% endif %} +Modifier l'agenda

+
+{% endwith %} diff --git a/templates/variants/toodego/combo/json/caluire-famille.html b/templates/variants/toodego/combo/json/caluire-famille.html new file mode 100644 index 00000000..5202525a --- /dev/null +++ b/templates/variants/toodego/combo/json/caluire-famille.html @@ -0,0 +1,14 @@ +

Ma Famille

+
+

Identifiant famille
+n° {{ json.data.RESPONSABLE1.FAMILLE.0.IDENTFAMILLE }}
+Supprimer la liaison avec mon dossier famille

+ +

Adresse
+{{ json.data.RESPONSABLE1.ADRESSE.NORUE|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.ADRESSE1|default:"" }}
+{{ json.data.RESPONSABLE1.ADRESSE.CODEPOSTAL|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.VILLE|default:"" }}
+Modifier l'adresse





+ +

Envoyer un document +Autre changement

+
diff --git a/templates/variants/toodego/combo/json/caluire-responsables.html b/templates/variants/toodego/combo/json/caluire-responsables.html new file mode 100644 index 00000000..92f88e10 --- /dev/null +++ b/templates/variants/toodego/combo/json/caluire-responsables.html @@ -0,0 +1,16 @@ +

Responsables

+
+

Responsable du foyer +

{{ json.data.RESPONSABLE1.CIVILITE|default:"" }} {{ json.data.RESPONSABLE1.PRENOM|default:"" }} {{ json.data.RESPONSABLE1.NOM|default:"" }}
+Tél : {{ json.data.RESPONSABLE1.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE1.TELPORTABLE|default:"" }}
+Courriel : {{ json.data.RESPONSABLE1.MAIL|default:"" }}
+Modifier le téléphone ou courriel

+ +

Responsable du foyer +

{{ json.data.RESPONSABLE2.CIVILITE|default:"" }} {{ json.data.RESPONSABLE2.PRENOM|default:"" }} {{ json.data.RESPONSABLE2.NOM|default:"" }}
+Tél : {{ json.data.RESPONSABLE2.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE2.TELPORTABLE|default:"" }}
+Courriel : {{ json.data.RESPONSABLE2.MAIL|default:"" }}
+Modifier le téléphone ou courriel

+ +

Changement de situation familiale

+