X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..92c0e79e01fe60357e76de4cd76df5c067976a18:/forum/skins/default/templates/question_list/count.html diff --git a/forum/skins/default/templates/question_list/count.html b/forum/skins/default/templates/question_list/count.html index d1cf227..dbb45eb 100644 --- a/forum/skins/default/templates/question_list/count.html +++ b/forum/skins/default/templates/question_list/count.html @@ -1,10 +1,26 @@ -{% load i18n %} -{% load humanize %} +{% spaceless %} +{% load i18n humanize extra_tags %} +{% declare %} + answer_count = questions.children_count('answer') +{% enddeclare %}
-
{{ questions_count }}
-

{{ list_description }}

+
+ {{ questions.paginator.count }}{{ list_description }} +
+ + + {% if answer_count %} +
+ {{ answer_count }}{% trans "answers" %} +
+ + {% endif %} + +

- {{ sort_description|safe }} + {{ questions.paginator.sort_description }}

-
\ No newline at end of file +
+ +{% endspaceless %} \ No newline at end of file