diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 44aa1bb5..0445d99d 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -1,7 +1,10 @@ {% extends "sidebar_table_layout.html" %} {%- macro weighted_bill_amount(bill, weights, currency=bill.original_currency, amount=bill.amount) %} - {{ amount|currency(currency) }} ({{ _("%(amount)s each", amount=(amount / weights)|currency(currency)) }}) + {{ amount|currency(currency) }} + {%- if weights != 1.0 %} + ({{ _("%(amount)s each", amount=(amount / weights)|currency(currency)) }}) + {%- endif -%} {% endmacro -%} {% block title %} - {{ g.project.name }}{% endblock %}