diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-12-09 12:13:08 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-12-09 12:13:08 -0500 |
commit | 368c62b96a13d4fc340c67bbfc4048e227269070 (patch) | |
tree | b95f6107872ed32c5632aad61eb973522a2730d4 /templates/questions.html | |
parent | 86250a6d49e69ff04d128d11bfa82d9a7b345bbf (diff) | |
download | askbot-368c62b96a13d4fc340c67bbfc4048e227269070.tar.gz askbot-368c62b96a13d4fc340c67bbfc4048e227269070.tar.bz2 askbot-368c62b96a13d4fc340c67bbfc4048e227269070.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.html | 6 |
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 %} |