]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question.html
Makes tags and users lists use the new paginators, completelly remove the old cnprog...
[osqa.git] / forum / skins / default / templates / question.html
index 00bbd51b090bea86002a7356246f14bb4a766e3b..305f62c37ad153f688482ecf223b7af36b3a9114 100644 (file)
                 <div class="tabBar">\r
                     <a name="sort-top"></a>\r
                     <div class="headQuestions">\r
-                    {% blocktrans count answers.count as counter %}\r
+                    {% blocktrans count answers.paginator.count as counter %}\r
                     One Answer:\r
                     {% plural %}\r
                     {{counter}} Answers:\r
                     {% endblocktrans %}\r
                     </div>\r
-                    {{ answers.sort_tabs }}\r
+                    {{ answers.paginator.sort_tabs }}\r
                 </div>\r
-                {{ answers.page_numbers }}\r
+                {{ answers.paginator.page_numbers }}\r
   \r
-                {% for answer in answers.page %}\r
+                {% for answer in answers.paginator.page %}\r
                     <a name="{{ answer.id }}"></a>\r
                     <div id="answer-container-{{ answer.id }}" class="answer {% if answer.nis.accepted %}accepted-answer{% endif %} {% ifequal answer.author_id question.author_id %} answered-by-owner{% endifequal %} {% if answer.nis.deleted %}deleted{% endif %}">\r
                         <table style="width:100%;">\r
                     </div>\r
                 {% endfor %}\r
                 <div class="paginator-container-left">\r
-                    {{ answers.page_numbers }}\r
+                    {{ answers.paginator.page_numbers }}\r
                 </div>\r
             {% endif %}\r
         <form id="fmanswer" action="{% url answer question.id %}" method="post">\r