toodego: add templates for caluire (#55517)
gitea-wip/publik-base-theme/pipeline/head There was a failure building this commit Details

This commit is contained in:
Lauréline Guérin 2021-07-12 15:25:29 +02:00
parent 7560dc0970
commit 5efeb9a980
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
5 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<h2>{{ json.data.PRENOM }} {{ json.data.NOM }}</h2>
<div>
<p>Des informations complémentaires sur votre enfant sont disponibles ci-dessous.</p>
</div>

View File

@ -0,0 +1,9 @@
{% now "n" as current_month %}{% if current_month in "678" %}
<h2>Prochaines inscriptions</h2>
<div>
{% for activity in json.data.ACTIVITE %}
<p><b> {{ activity.LIBELLEACTIVITE }} </b></p>
{% endfor %}
</div>
{% endif %}

View File

@ -0,0 +1,32 @@
{% with child=json %}
<h2>{{ child.data.text }}</h2>
<div>
<div class="grid-1-2">
<p><b>Informations sur votre enfant</b></p>
Date de naissance : {{ child.data.NAISSANCE|date }}<br/>
Genre : {% if child.data.SEXE == 'F' %}Féminin{% else %}Masculin{% endif %}<br/>
{% if schooling.data.SCOLAIRE %}
Ecole : {{ schooling.data.SCOLAIRE.LIBELLEECOLE }} <br/>
Classe : {{ schooling.data.SCOLAIRE.IDENTNIVEAU }}<br/>
<p><a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-sante-de-mon-enfant/">Modifier une donnée de santé</a></p>
{% endif %}
</div><div class="grid-1-2">
<p><b> Les inscriptions en cours</b></p>
{% for activity in activities.data.ACTIVITE %}
<p>
{{ activity.LIBELLEACTIVITE }}<br />
{% 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 %}
</p>
{% endfor %}
<p>
{% now "n" as current_month %}
{% if current_month in "678" %}<a class="pk-button" href="/espace-famille/child/{{ child.data.id }}">Inscriptions de l'an prochain</a>{% endif %}
<a class="pk-button" href="{{ eservices_url }}famille/gerer-mes-reservations/?child_id={{ child.data.id }}">Modifier l'agenda</a></p>
</div>
{% endwith %}

View File

@ -0,0 +1,14 @@
<h2>Ma Famille</h2>
<div>
<p>Identifiant famille </br>
<b>n° {{ json.data.RESPONSABLE1.FAMILLE.0.IDENTFAMILLE }}</b></br>
<a href="{{ eservices_url }}famille/supprimer-le-lien-avec-mon-compte-famille/">Supprimer la liaison avec mon dossier famille</a></p>
<p><b>Adresse</b></br>
{{ json.data.RESPONSABLE1.ADRESSE.NORUE|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.ADRESSE1|default:"" }}</br>
{{ json.data.RESPONSABLE1.ADRESSE.CODEPOSTAL|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.VILLE|default:"" }}</br>
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-changement-d-adresse/">Modifier l'adresse</a></br></br></br></br></br></br></p>
<p><a class="pk-button" href="{{ eservices_url }}famille/modifier-mon-dossier-unique-transmettre-un-justificatif/">Envoyer un document</a>
<a class="pk-button" href="{{ eservices_url }}famille/modifier-mon-dossier-unique-autre-changement/">Autre changement</a></p>
</div>

View File

@ -0,0 +1,16 @@
<h2>Responsables</h2>
<div>
<p><b>Responsable du foyer</b>
<p>{{ json.data.RESPONSABLE1.CIVILITE|default:"" }} {{ json.data.RESPONSABLE1.PRENOM|default:"" }} {{ json.data.RESPONSABLE1.NOM|default:"" }}</br>
Tél : {{ json.data.RESPONSABLE1.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE1.TELPORTABLE|default:"" }}</br>
Courriel : {{ json.data.RESPONSABLE1.MAIL|default:"" }}</br>
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-telephone-et-courriel/">Modifier le téléphone ou courriel</a></p>
<p><b>Responsable du foyer</b>
<p>{{ json.data.RESPONSABLE2.CIVILITE|default:"" }} {{ json.data.RESPONSABLE2.PRENOM|default:"" }} {{ json.data.RESPONSABLE2.NOM|default:"" }}</br>
Tél : {{ json.data.RESPONSABLE2.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE2.TELPORTABLE|default:"" }}</br>
Courriel : {{ json.data.RESPONSABLE2.MAIL|default:"" }}</br>
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-telephone-et-courriel/">Modifier le téléphone ou courriel</a></p>
<p><a class="pk-button" href="{{ eservices_url }}famille/modifier-mon-dossier-unique-changement-de-situation-familiale/">Changement de situation familiale</a></p>
</div>