From 24eeb54a6b7159964e8887ade7fa5173b50feb3a Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 26 Jan 2025 17:58:57 +0100 Subject: Replace tera by minijinja tera was doing the job all right, but minijinja has fewer dependencies. --- templates/payment/table.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/payment/table.html') diff --git a/templates/payment/table.html b/templates/payment/table.html index 450d84b..71bfb0a 100644 --- a/templates/payment/table.html +++ b/templates/payment/table.html @@ -20,7 +20,7 @@ {% else %}
- {{ count | numeric }} paiement{{ count | pluralize }} comptabilisant {{ total_cost | euros() }}. + {{ count | numeric }} paiement{{ pluralize(count, "paiement") }} comptabilisant {{ total_cost | euros() }}.
{% endif %} @@ -81,9 +81,9 @@ {{ payment.cost | euros() }} {{ payment.user }} - {{ payment.category_name }} @@ -97,7 +97,7 @@ {% endfor %} - {{ paging::paging( + {{ paging.view( url="/" ~ payments_params( frequency=query.frequency, name=query.name, -- cgit v1.2.3