diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-24 05:31:29 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-24 05:31:29 -0400 |
commit | 98bfb63992324a717fa8ac550c6ff3ec1a7e3bc7 (patch) | |
tree | 74b1f048e544b7924fbc083ab91875acab0aa448 /askbot/templates/question/content.html | |
parent | a0ba548049366cc37ad91f2824b119a1f45591e5 (diff) | |
download | askbot-98bfb63992324a717fa8ac550c6ff3ec1a7e3bc7.tar.gz askbot-98bfb63992324a717fa8ac550c6ff3ec1a7e3bc7.tar.bz2 askbot-98bfb63992324a717fa8ac550c6ff3ec1a7e3bc7.zip |
added option to hide ad blocks from logged in users
Diffstat (limited to 'askbot/templates/question/content.html')
-rw-r--r-- | askbot/templates/question/content.html | 2 |
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" %} |