1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-20 22:42:21 +00:00
nk20/templates/note/transactiontemplate_list.html

24 lines
593 B
HTML
Raw Normal View History

2019-08-11 17:55:04 +00:00
{% extends "base.html" %}
2020-02-03 14:20:37 +00:00
{% load pretty_money %}
2019-08-11 17:55:04 +00:00
{% block content %}
<table class="table">
<tr>
2020-02-03 14:20:37 +00:00
<td>ID</td><td>Nom</td>
<td>Destinataire</td>
<td>Montant</td>
<td>Catégorie</td>
2019-08-11 17:55:04 +00:00
</tr>
{% for object in object_list %}
<tr>
<td>{{object.pk}}</td>
2020-02-03 14:20:37 +00:00
<td><a href="{{object.get_absolute_url}}">{{ object.name }}</a></td>
2019-08-11 17:55:04 +00:00
<td>{{ object.destination }}</td>
2020-02-03 14:20:37 +00:00
<td>{{ object.amount | pretty_money }}</td>
2019-08-11 17:55:04 +00:00
<td>{{ object.template_type }}</td>
</tr>
{% endfor %}
</table>
2020-02-03 14:20:37 +00:00
<a class="btn btn-primary" href="{% url 'note:template_create' %}">Créer un bouton</a>
2019-08-11 17:55:04 +00:00
{% endblock %}