aboutsummaryrefslogtreecommitdiff
path: root/templates/report/list.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/report/list.j2')
-rw-r--r--templates/report/list.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/report/list.j2 b/templates/report/list.j2
index ef53244..d683879 100644
--- a/templates/report/list.j2
+++ b/templates/report/list.j2
@@ -2,13 +2,13 @@
{% if xs -%}
- {% set s = xs | length | pluralize -%}
+ {% set l = xs | length %}
- {{ xs | length }} {{ resource }}{{ s }} {{ action }}{{ s }} :
+ {{ xs | length }} {{ pluralize(l, resource) }} {{ pluralize(l, action) }} :
{% for x in xs -%}
- {{ x.date }} {{ x.name }} {{ x.amount | euros() }}
{% endfor %}
{% endif -%}
-{% endmacro paging %}
+{% endmacro %}