X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/9c16cbca82809745d8658a618434f814d0df8ec8..e907efa7d02378ca6e4cbbcfacd25054faacf3bc:/forum/skins/default/templates/questions.html diff --git a/forum/skins/default/templates/questions.html b/forum/skins/default/templates/questions.html index 0431c9e..f470ba3 100644 --- a/forum/skins/default/templates/questions.html +++ b/forum/skins/default/templates/questions.html @@ -7,32 +7,43 @@ {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %} -{% block forejs %} - +{% block metadescription %}{% spaceless %} + {% if tag %} + {% blocktrans with settings.APP_TITLE as app_title %}Questions and answers about {{ tag }} on {{ app_title }}{% endblocktrans %} + {% endif %} +{% 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 %} - {% question_list_item question %} +
{% for question in questions.paginator.page %} + {% if show_summary %} + {% question_list_item question question_summary=yes %} + {% else %} + {% question_list_item question %} + {% endif %} {% 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 %} {% sidebar_lower %} - {% question_list_related_tags questions %} + {% question_list_related_tags questions.paginator.page %} {% endblock %}