publik-base-theme/templates/variants/alpes-maritimes-2018/combo/json/detail-dune-demande-ph.html

68 lines
2.5 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.

{% load combo %}
{% if json.data %}
<h2>Dossier Handicap : {% 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 class="cell turquoise-header">
{% if json.data.dossier.DEMANDES.PH %}
{% for demande in json.data.dossier.DEMANDES.PH %}
{% if demande.ID_MES == request.GET.demande %}
<h3>{{ demande.TYPE_MESURE }}</h3>
<h4>Progression de la demande</h4>
<div id="social-steps">
<ol>
{% for etape in demande.LISTE_ETAPES %}
<li{% if etape.A_SURLIGNER == "O" %} class="current"{% endif %}>
<span class="marker">{{ forloop.counter }}</span>
<span class="label">
{{ etape.CATEGORIE }}
</span>
</li>
{% endfor %}
</ol>
</div>
{% for etape in demande.LISTE_ETAPES %}
{% if etape.A_SURLIGNER == "O" %}
{% for etp in etape.ETP %}
{% if etp.TYP_CHAMP == "L" %}
<p><strong>Étape actuelle</strong> : {{etp.ETAPE}}</p>
<div class="infonotice"><p>{{etp.LIBELLE_CHAMP}}</p></div>
{% endif %}
{% endfor %}
{% if etape.ETP|length > 1 %}
<h3>Informations supplémentaires</h3>
{% for etp in etape.ETP %}
{% if etp.TYP_CHAMP == "D" %}
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_CHAMP}}</p>
{% endif %}
{% if etp.TYP_CHAMP == "S" %}
<p>{{etp.LIBELLE_CHAMP}} :
<ul>
{% for e in etp.VALEUR_LIST_CHAMP %}
{% if e.LIBELLE != e.COMMENTAIRE %}
<li>{{e.LIBELLE}} : {{e.COMMENTAIRE}}</li>
{% endif %}
{% endfor %}
</ul>
</p>
{% endif %}
{% if etp.TYP_CHAMP == "M" and etp.VALEUR_MEMO_CHAMP %}
<div class="infonotice">
<p>{{etp.LIBELLE_CHAMP}} :<br /> {{etp.VALEUR_MEMO_CHAMP}}</p>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
</div>
{% endif %}