36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
{% if not json_brsa.err %}
|
||
|
||
<h2>Mes actions d’insertion</h2>
|
||
<div>
|
||
<div class="rsa-cell--introduction">
|
||
<p>Le Département propose des actions qui vont m’aider selon mes besoins.</p>
|
||
<p>Pour participer je dois en parler à mon référent ou contacter mon territoire d’action 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 n’ai aucune action en cours.</p></div>
|
||
{% endif %}
|
||
</div>
|
||
|
||
{% endif %}
|