publik-base-theme/templates/variants/toodego/combo/json/rsj-fiche.html

25 lines
2.0 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h2>Fiche de {{json.fields.prenom_jeune}} {{json.fields.nom_jeune}} - N° INSERTIS : {{json.fields.identifiant_insertis}}</h2>
<div>
<table class="pk-data-table pk-table-center">
<tr> <th colspan="2"><h3>Informations sur le jeune</h3></th> </tr>
<tr> <td>Prénom :</td> <td><strong>{{json.fields.prenom_jeune}}</strong></td> </tr>
<tr> <td>Nom :</td> <td><strong>{{json.fields.nom_jeune}}</strong></td> </tr>
<tr> <td>Date de naissance : </td> <td><strong>{{json.fields.date_naissance|date:"d/m/Y"}}</strong></td> </tr>
<tr> <td>Identifiant INSERTIS :</td> <td ><strong>{{json.fields.identifiant_insertis}}</strong></td> </tr>
<tr> <td>Nombre de mois versés :</td> <td ><strong>{{json.fields.nombre_mois_payes}}</strong></td> </tr>
<tr> <th colspan="2"><h3>Informations sur le conseiller ayant rencontré le jeune</h3></td> </tr>
<tr> <td>Prénom :</td> <td><strong>{{json.fields.prenom_conseiller}}</strong></td> </tr>
<tr> <td>Nom :</td> <td><strong>{{json.fields.nom_conseiller}}</strong></td> </tr>
<tr> <td>Téléphone : </td> <td><strong>{{json.fields.telephone_conseiller}}</strong></td> </tr>
<tr> <td>Structure :</td> <td><strong>{{json.fields.structure}}</strong></td> </tr>
<tr> <td>Courriel :</td> <td><strong>{{json.fields.courriel_conseiller}}</strong></td> </tr>
</table>
{% if request.user|has_role:json.workflow.fields.role_derniere_demarche %}
<p>Pour consulter la demande de RSJ liée à ce jeune, cliquez sur le bouton ci-dessous :</p>
<p><a href="{{json.workflow.fields.url_demarche_liee}}" class="pk-button">Accéder à la démarche</a></p>
{% else %}
<p>Pour voir la démarche RSJ de {{json.fields.prenom_jeune}} {{json.fields.nom_jeune}} ({{json.fields.identifiant_insertis}}), il faut demander son rattachement à votre structure. Pour accéder à ce formulaire, cliquez sur le bouton ci-dessous :</p>
<p><a href="{{ eservices_url }}rsj-demande-de-rattachement-d-un-jeune-a-sa-structure/" class="pk-button">Rattacher le jeune à sa structure</a></p>
{% endif %}
</div>