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