]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/question_list/count.html
dbb45eb8ed70af83747eb4c6a598c68dc016cb27
[osqa.git] / forum / skins / default / templates / question_list / count.html
1 {% spaceless %}\r
2 {% load i18n humanize extra_tags %}\r
3 {% declare %}\r
4     answer_count = questions.children_count('answer')\r
5 {% enddeclare %}\r
6 \r
7 <div class="boxC">\r
8     <div class="questions-count">\r
9         {{ questions.paginator.count }}<span style="color:black;font-size:14px;margin-left:5px">{{ list_description }}</span>\r
10     </div>\r
11 \r
12 \r
13     {% if answer_count %}\r
14     <div class="questions-count">\r
15         {{ answer_count }}<span style="color:black;font-size:14px;margin-left:5px">{% trans "answers" %}</span>\r
16     </div>\r
17 \r
18     {% endif %}\r
19 \r
20     <div>\r
21         <p class="nomargin">\r
22             {{ questions.paginator.sort_description }}\r
23         </p>\r
24     </div>\r
25 </div>\r
26 {% endspaceless %}