1 {% extends "base.html" %}
\r
2 <!-- questions.html -->
\r
3 {% load question_list_tags %}
\r
5 {% load extra_tags %}
\r
7 {% block title %}{% spaceless %}{% trans "Questions" %}{% endspaceless %}{% endblock %}
\r
9 <script type="text/javascript">
\r
10 var tags = {{ tags_autocomplete|safe }};
\r
11 $().ready(function(){
\r
12 var tab_id = "{{ tab_id }}";
\r
13 $("#"+tab_id).attr('className',"on");
\r
14 var on_tab = {% if is_unanswered %}'#nav_unanswered'{% else %}'#nav_questions'{% endif %};
\r
15 $(on_tab).attr('className','on');
\r
16 Hilite.exact = false;
\r
17 Hilite.elementid = "listA";
\r
18 Hilite.debug_referrer = location.href;
\r
23 <div class="tabBar">
\r
24 {% question_list_title %}
\r
25 {% question_sort_tabs sort_context %}
\r
27 <div id="listA">{% for question in questions %}
\r
28 {% question_list_item question %}
\r
33 <div class="pager">{% cnprog_paginator pagination_context %}</div>
\r
34 <div class="pagesize">{% cnprog_pagesize pagination_context %}</div>
\r
38 {% question_list_count %}
\r
40 {% question_list_related_tags questions %}
\r
42 <!-- end questions.html -->
\r