diff options
author | Joris | 2025-01-26 17:58:57 +0100 |
---|---|---|
committer | Joris | 2025-01-26 17:58:57 +0100 |
commit | 24eeb54a6b7159964e8887ade7fa5173b50feb3a (patch) | |
tree | 91af6253df784445db9b084b02b38b37a83224e8 /templates/payment/table.html | |
parent | c5759f348e70cf54b4bfa4cd17e1fe1828ead30a (diff) |
Replace tera by minijinjamain
tera was doing the job all right, but minijinja has fewer dependencies.
Diffstat (limited to 'templates/payment/table.html')
-rw-r--r-- | templates/payment/table.html | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ </div> {% else %} <div class="g-Paragraph"> - {{ count | numeric }} paiement{{ count | pluralize }} comptabilisant {{ total_cost | euros() }}. + {{ count | numeric }} paiement{{ pluralize(count, "paiement") }} comptabilisant {{ total_cost | euros() }}. </div> {% endif %} @@ -81,9 +81,9 @@ {{ payment.cost | euros() }} </span> <span class="g-Table__Cell">{{ payment.user }}</span> - <span + <span class="g-Table__Cell g-Media__Large" - is="colored-category" + is="colored-category" data-color="{{ payment.category_color }}" > {{ payment.category_name }} @@ -97,7 +97,7 @@ {% endfor %} </div> - {{ paging::paging( + {{ paging.view( url="/" ~ payments_params( frequency=query.frequency, name=query.name, |