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
28 {% for question in questions %}
\r
29 {% question_list_item question %}
\r
35 <div class="pager">{% cnprog_paginator pagination_context %}</div>
\r
36 <div class="pagesize">{% cnprog_pagesize pagination_context %}</div>
\r
40 {% question_list_count %}
\r
42 {% question_list_related_tags questions %}
\r
44 <!-- end questions.html -->
\r