summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-29 23:28:48 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-29 23:28:48 -0400
commitf4454f1b900c5d54f9ad6f6c43203502883a094e (patch)
treedf9c3f627dc18b2f154f931393ad91a6a639f4ea /askbot/templates/question.html
parent89da4175785a27edcd1a9b1985e662a83c95213c (diff)
downloadaskbot-f4454f1b900c5d54f9ad6f6c43203502883a094e.tar.gz
askbot-f4454f1b900c5d54f9ad6f6c43203502883a094e.tar.bz2
askbot-f4454f1b900c5d54f9ad6f6c43203502883a094e.zip
hopefully fixed yellow bg issue in google adwords
Diffstat (limited to 'askbot/templates/question.html')
-rw-r--r--askbot/templates/question.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/askbot/templates/question.html b/askbot/templates/question.html
index 74e101b2..98cb2502 100644
--- a/askbot/templates/question.html
+++ b/askbot/templates/question.html
@@ -265,9 +265,9 @@
</script>
{% endblock %}
{% block content %}
- <div>
- {{ settings.QUESTION_PAGE_TOP_BANNER|safe }}
- </div>
+ {% if settings.QUESTION_PAGE_TOP_BANNER %}
+ <div class="banner">{{ settings.QUESTION_PAGE_TOP_BANNER|safe }}</div>
+ {% endif %}
{% if is_cacheable %}
{% cache long_time "thread-content-html" thread.id %}
{% include "question/content.html" %}