Commit 63f3ae1f authored by Nicolas Joyard's avatar Nicolas Joyard

Ajout lien parl dans admin

parent de9b8a60
......@@ -20,7 +20,10 @@
{% for action in actions %}
<td>{{ action.parlementaire.nom_complet }}</td>
<a class="btn btn-default btn-sm" href="{{ url_for('parlementaire', id=action.parlementaire_id) }}">Voir</a>
{{ action.parlementaire.nom_complet }}
<td>{{ action.etape|label_etape }}</td>
<td>{{'%c') }}</td>
......@@ -32,11 +35,12 @@
{% if action.attachment %}
<a class="btn btn-default" href="{{ url_for('admin_fichier', }}" target="_blank">{{ action.attachment }}</a>
<a class="btn btn-default btn-sm" href="{{ url_for('admin_fichier', }}" target="_blank">Voir</a>
{{ action.attachment }}
{% endif %}
<a class="btn btn-danger" href="{{ url_for('admin_delete', }}">Supprimer</a>
<td class="col-right">
<a class="btn btn-danger btn-sm" href="{{ url_for('admin_delete', }}">Supprimer</a>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment