aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/list_bills.html
diff options
context:
space:
mode:
authorBrice Maron <b.maron@whatever-company.com>2019-07-26 16:34:41 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2019-07-27 03:44:42 +0200
commit89e78bb4d0ddccea47d8219129b5e8791fb797a6 (patch)
tree3e5c12aa0af743ab6119c2e1efb5720d30efae28 /ihatemoney/templates/list_bills.html
parent669b15b0ec0a491f169772ac69e96a9970759a36 (diff)
downloadihatemoney-mirror-89e78bb4d0ddccea47d8219129b5e8791fb797a6.zip
ihatemoney-mirror-89e78bb4d0ddccea47d8219129b5e8791fb797a6.tar.gz
ihatemoney-mirror-89e78bb4d0ddccea47d8219129b5e8791fb797a6.tar.bz2
Remove Added on column from bill list.
to avoid breaking anyone's workflow, i've instead use a tooltip to display the creation date. fix #418
Diffstat (limited to 'ihatemoney/templates/list_bills.html')
-rw-r--r--ihatemoney/templates/list_bills.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html
index 98ff683..6ccf0a0 100644
--- a/ihatemoney/templates/list_bills.html
+++ b/ihatemoney/templates/list_bills.html
@@ -98,12 +98,16 @@
{% if bills.count() > 0 %}
<table id="bill_table" class="col table table-striped table-hover table-responsive-sm">
- <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>
+ <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>
<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>
+ <span data-toggle="tooltip" data-placement="top"
+ title="{{ _('Added on %(date)s', date=bill.creation_date if bill.creation_date else bill.date) }}">
+ {{ bill.date }}
+ </span>
+ </td>
<td>{{ bill.payer }}</td>
<td>{{ bill.what }}</td>
<td>{{ bill.owers|join(', ', 'name') }} </td>