]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/questions.html
Fix for the remaining bug from OSQA-96 for the code that still exists. Thanks Eugene.
[osqa.git] / forum / skins / default / templates / questions.html
index ef7df5898610c2113354579d98f23f4b5c2e2842..9eea455bc53023797b53fb231f5ca9033d7883c4 100644 (file)
@@ -4,31 +4,15 @@
 {% load i18n %}\r
 {% load extra_tags %}\r
 \r
-{% block title %}{% spaceless %}{% trans "Questions" %}{% endspaceless %}{% endblock %}\r
-{% block forejs %}\r
-       <script type="text/javascript">\r
-           var tags = {{ tags_autocomplete|safe }};\r
-           $().ready(function(){\r
-               var tab_id = "{{ tab_id }}";\r
-               $("#"+tab_id).attr('className',"on");\r
-               var on_tab = {% if is_unanswered %}'#nav_unanswered'{% else %}'#nav_questions'{% endif %};\r
-               $(on_tab).attr('className','on');\r
-               Hilite.exact = false;\r
-               Hilite.elementid = "listA";\r
-               Hilite.debug_referrer = location.href;\r
-           });\r
-       </script>\r
-{% endblock %}\r
+{% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}\r
 {% block content %}\r
 <div class="tabBar">\r
     {% question_list_title %}\r
     {% question_sort_tabs sort_context %}\r
 </div>\r
-<div id="listA">\r
-{% for question in questions %}\r
+<div id="listA">{% for question in questions %}\r
     {% question_list_item question %}\r
-{% endfor %}\r
-</div>\r
+{% endfor %}</div>\r
 {% endblock %}\r
 \r
 {% block tail %}\r