summaryrefslogtreecommitdiffstats
path: root/templates/questions.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-12-09 12:13:32 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-12-09 12:13:32 -0500
commit4be0491e6adef6bf5817545ec9e050555066352f (patch)
treeb95f6107872ed32c5632aad61eb973522a2730d4 /templates/questions.html
parent9655bd421022dd6488b21184cc9fd0242c6b345e (diff)
downloadaskbot-4be0491e6adef6bf5817545ec9e050555066352f.tar.gz
askbot-4be0491e6adef6bf5817545ec9e050555066352f.tar.bz2
askbot-4be0491e6adef6bf5817545ec9e050555066352f.zip
better selector of ignored questions, split javascript tag_selector into separate file, fixed question counter messages in the english lang file
Diffstat (limited to 'templates/questions.html')
-rw-r--r--templates/questions.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/questions.html b/templates/questions.html
index 63026dc3..9387b345 100644
--- a/templates/questions.html
+++ b/templates/questions.html
@@ -20,7 +20,7 @@
});
</script>
<script type='text/javascript' src='{% href "/content/js/com.cnprog.editor.js" %}'></script>
- <script type='text/javascript' src='{% href "/content/js/com.cnprog.post.js" %}'></script>
+ <script type='text/javascript' src='{% href "/content/js/com.cnprog.tag_selector.js" %}'></script>
{% endblock %}
{% block content %}
<div class="tabBar">
@@ -57,8 +57,10 @@
{% if question.interesting_score > 0 %}
style="background:#ffff99;"
{% else %}
- {% if question.ignored_score > 0 %}
+ {% if not request.user.hide_ignored_questions %}
+ {% if question.ignored_score > 0 %}
style="background:#f3f3f3;"
+ {% endif %}
{% endif %}
{% endif %}
{% endif %}