aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates
diff options
context:
space:
mode:
authorLucas Verney <phyks@phyks.me>2018-12-25 16:50:14 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2018-12-25 16:50:14 +0100
commit0428cf06b50203432cb39bde95e450a481392797 (patch)
tree0af70aa16da50a850eeb4fd15fbb46c0bcf59955 /ihatemoney/templates
parent0f2a5e9255034e4e4f93922c8178e166c9ef41a3 (diff)
downloadihatemoney-mirror-0428cf06b50203432cb39bde95e450a481392797.zip
ihatemoney-mirror-0428cf06b50203432cb39bde95e450a481392797.tar.gz
ihatemoney-mirror-0428cf06b50203432cb39bde95e450a481392797.tar.bz2
Add bill.creation_date field (#327)
Diffstat (limited to 'ihatemoney/templates')
-rw-r--r--ihatemoney/templates/list_bills.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html
index 81f8cd5..718009b 100644
--- a/ihatemoney/templates/list_bills.html
+++ b/ihatemoney/templates/list_bills.html
@@ -98,10 +98,11 @@
{% if bills.count() > 0 %}
<table id="bill_table" class="col table table-striped table-hover">
- <thead><tr><th>{{ _("When?") }}</th><th>{{ _("Who paid?") }}</th><th>{{ _("For what?") }}</th><th>{{ _("For whom?") }}</th><th>{{ _("How much?") }}</th><th>{{ _("Actions") }}</th></tr></thead>
+ <thead><tr><th>{{ _("Added on") }}</th><th>{{ _("When?") }}</th><th>{{ _("Who paid?") }}</th><th>{{ _("For what?") }}</th><th>{{ _("For whom?") }}</th><th>{{ _("How much?") }}</th><th>{{ _("Actions") }}</th></tr></thead>
<tbody>
{% for bill in bills %}
<tr owers="{{bill.owers|join(',','id')}}" payer="{{bill.payer.id}}">
+ <td>{{ bill.creation_date if bill.creation_date else bill.date }}</td>
<td>{{ bill.date }}</td>
<td>{{ bill.payer }}</td>
<td>{{ bill.what }}</td>