summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question/content.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/templates/question/content.html')
-rw-r--r--askbot/templates/question/content.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/templates/question/content.html b/askbot/templates/question/content.html
index 23286ce0..c8fef9a6 100644
--- a/askbot/templates/question/content.html
+++ b/askbot/templates/question/content.html
@@ -12,7 +12,7 @@
<div class="clean"></div>
{% for answer in answers %}
- {% if answers|length > 1 and loop.index == 2 %}
+ {% if loop.index == 2 and 'QUESTION_PAGE_ANSWER_BANNER'|show_block_to(request.user) %}
<div class="banner">{{ settings.QUESTION_PAGE_ANSWER_BANNER|safe }}</div>
{% endif %}
{% include "question/answer_card.html" %}