summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 05:37:16 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 05:37:16 -0400
commit67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce (patch)
tree4fe5381c2b2a16f994a8bfa6092db70e77e7a52f /askbot/templates/question.html
parentb03f881b11204b7e0fe323dd9148085ef0dfa35d (diff)
parent60bc578f579d8b5a40e4c040a0bbd6a60e30e950 (diff)
downloadaskbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.tar.gz
askbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.tar.bz2
askbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.zip
merged with the master branch
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 3ddc0114..c11fba04 100644
--- a/askbot/templates/question.html
+++ b/askbot/templates/question.html
@@ -232,9 +232,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" %}