+{% load dae %}
<html>
<head>
<h2>Pièces jointes</h2>
<ul>
{% for pj in dossier.dossierpiece_set.all %}
- <li><a href="{{ pj.fichier.url }}" target="_blank">{{ pj.nom }}</a></li>
+ <li><a href="{% url dossier_piece pj.id pj.fichier.name|basename %}">{{ pj.nom }}</a></li>
{% endfor %}
</ul>
</table>
<fieldset>
-<h2>Validation</h2>
+<h2>Validations</h2>
-<ul>
+<table>
+<tr>
+ <th>Action</th>
+ <th>Commentaire</th>
+</tr>
{% for commentaire in dossier.historique_desc %}
- <li>{{ commentaire }}</li>
+ {% include "dae/ligne_validation.html" %}
{% endfor %}
-</ul>
+</table>
</fieldset>
<fieldset>