X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..e4fb5288575b061914881b36c415f12cb2fe01e5:/forum/skins/default/templates/questions.html diff --git a/forum/skins/default/templates/questions.html b/forum/skins/default/templates/questions.html index ef7df58..8d4ee0a 100644 --- a/forum/skins/default/templates/questions.html +++ b/forum/skins/default/templates/questions.html @@ -3,42 +3,37 @@ {% load question_list_tags %} {% load i18n %} {% load extra_tags %} +{% load general_sidebar_tags %} -{% block title %}{% spaceless %}{% trans "Questions" %}{% endspaceless %}{% endblock %} -{% block forejs %} - +{% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %} + +{% block meta %} + {% endblock %} + {% block content %} +
- {% question_list_title %} - {% question_sort_tabs sort_context %} + {% include "question_list/title.html" %} + + {{ questions.paginator.sort_tabs }}
-
-{% for question in questions %} +
{% for question in questions.paginator.page %} {% question_list_item question %} -{% endfor %} -
+{% endfor %}
{% endblock %} {% block tail %} -
{% cnprog_paginator pagination_context %}
-
{% cnprog_pagesize pagination_context %}
+
{{ questions.paginator.page_numbers }}
+
{{ questions.paginator.page_sizes }}
{% endblock %} {% block sidebar %} - {% question_list_count %} + {% include "question_list/count.html" %} + {% sidebar_upper %} {% tag_selector %} - {% question_list_related_tags questions %} + {% sidebar_lower %} + {% question_list_related_tags questions.paginator.page %} + {% endblock %}