publik-base-theme/templates/combo/json/rsa-actions.html

36 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% if not json_brsa.err %}
<h2>Mes actions dinsertion</h2>
<div>
<div class="rsa-cell--introduction">
<p>Le Département propose des actions qui vont maider selon mes besoins.</p>
<p>Pour participer je dois en parler à mon référent ou contacter mon territoire daction sociale.</p>
</div>
{% if not json.err and json.data %}
<div class="rsa-cell--datas">
<table class="pk-data-table pk-table-headers pk-table-borders pk-table-zebra">
<tr>
<th style="width:25%;">Avec qui</th>
<th style="width:25%;">Quoi</th>
<th style="width:25%;">Date de début</th>
<th>Date de fin</th>
</tr>
{% for action in json.data %}
{% if action.debut|strptime:"%d/%m/%Y"|date:"Y-m-d" > "01/01/2018"|strptime:"%d/%m/%Y"|date:"Y-m-d" %}
<tr>
<td>{{ action.rsa_links.structure.content.libelleReferentiel|default:"" }}</td>
<td>{{ action.nom|default:"" }}</td>
<td>{{ action.debut|default:"" }}</td>
<td>{{ action.fin|default:"" }}</td>
</tr>
{% endif %}
{% endfor %}
</table>
</div>
{% else %}
<div class="pk-information"><p>Je nai aucune action en cours.</p></div>
{% endif %}
</div>
{% endif %}