mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-25 16:33:47 +00:00
22 lines
939 B
HTML
22 lines
939 B
HTML
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Nom de l'article</th>
|
|
<th>Prix</th>
|
|
<th>Cotisation</th>
|
|
<th>Durée (en mois)</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
{% for article in article_list %}
|
|
<tr>
|
|
<td>{{ article.name }}</td>
|
|
<td>{{ article.prix }}</td>
|
|
<td>{{ article.cotisation }}</td>
|
|
<td>{{ article.duration }}</td>
|
|
<td>{% if is_trez %}<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:edit-article' article.id %}"><i class="glyphicon glyphicon-pushpin"></i> Editer</a>{% endif %}
|
|
<a class="btn btn-info btn-sm" role="button" href="{% url 'cotisations:history' 'article' article.id %}"><i class="glyphicon glyphicon-repeat"></i> Historique</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|