alpes-maritimes-2022: fix display & markup of "sous-dossier-* json cells (#73716)
This commit is contained in:
parent
2bc2df210f
commit
2c6ca67481
|
@ -4,8 +4,8 @@
|
|||
|
||||
<h2>{% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
|
||||
<div>
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
<div class="cell--body">
|
||||
<h3>Mes demandes</h3>
|
||||
<div class="pk-table-wrapper">
|
||||
<table class="pk-data-table">
|
||||
|
@ -28,9 +28,11 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if json.data.dossier.DROITS.AD %}
|
||||
{% if json.data.dossier.DROITS.AD %}
|
||||
<div class="cell--body">
|
||||
<h3>Mes droits</h3>
|
||||
<div class="pk-table-wrapper">
|
||||
<table class="pk-data-table">
|
||||
|
@ -51,6 +53,6 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
|
||||
<h2>{% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
|
||||
<div>
|
||||
{% if json.data.dossier.DEMANDES.PH %}
|
||||
{% if json.data.dossier.DEMANDES.PH %}
|
||||
<div class="cell--body">
|
||||
<h3>Mes demandes</h3>
|
||||
<div class="pk-table-wrapper">
|
||||
<table class="pk-data-table">
|
||||
<caption>ÉTAT D’AVANCEMENT DE VOS DEMANDES À CE JOUR</caption>
|
||||
<caption>État d’avancement de vos demandes à ce jour</caption>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Objet</th>
|
||||
|
@ -28,30 +28,31 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if json.data.dossier.DROITS.PH %}
|
||||
<div class="cell pink-header">
|
||||
<h3>Mes droits</h3>
|
||||
<div class="pk-table-wrapper">
|
||||
<table class="pk-data-table">
|
||||
<caption>Droits en cours</caption>
|
||||
{% if json.data.dossier.DROITS.PH %}
|
||||
<div class="cell--body">
|
||||
<h3>Mes droits</h3>
|
||||
<div class="pk-table-wrapper">
|
||||
<table class="pk-data-table">
|
||||
<caption>Droits en cours</caption>
|
||||
<tr>
|
||||
<th>Objet</th>
|
||||
<th>Date de début</th>
|
||||
<th>Date de fin</th>
|
||||
<th>Décision</th>
|
||||
</tr>
|
||||
{% for droit in json.data.dossier.DROITS.PH %}
|
||||
<tr>
|
||||
<th>Objet</th>
|
||||
<th>Date de début</th>
|
||||
<th>Date de fin</th>
|
||||
<th>Décision</th>
|
||||
<td>{{droit.LIBELLE}}</td>
|
||||
<td>{{droit.DATE_DEBUT}}</td>
|
||||
<td>{{droit.DATE_FIN}}</td>
|
||||
<td>{{droit.DEC_PREST}}</td>
|
||||
</tr>
|
||||
{% for droit in json.data.dossier.DROITS.PH %}
|
||||
<tr>
|
||||
<td>{{droit.LIBELLE}}</td>
|
||||
<td>{{droit.DATE_DEBUT}}</td>
|
||||
<td>{{droit.DATE_FIN}}</td>
|
||||
<td>{{droit.DEC_PREST}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue