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

Ajout lien parl dans admin

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