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/sidebar.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/sidebar.html')
-rw-r--r-- | askbot/templates/question/sidebar.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/templates/question/sidebar.html b/askbot/templates/question/sidebar.html index c11a4336..523f01ff 100644 --- a/askbot/templates/question/sidebar.html +++ b/askbot/templates/question/sidebar.html @@ -1,5 +1,5 @@ {% import "macros.html" as macros %} -{% if settings.SIDEBAR_QUESTION_HEADER %} +{% if 'SIDEBAR_QUESTION_HEADER'|show_block_to(request.user) %} <div class="box"> {{ settings.SIDEBAR_QUESTION_HEADER }} </div> @@ -173,7 +173,7 @@ {#% endcache %#} {% endif %} -{% if settings.SIDEBAR_QUESTION_FOOTER %} +{% if 'SIDEBAR_QUESTION_FOOTER'|show_block_to(request.user) %} <div class="box"> {{ settings.SIDEBAR_QUESTION_FOOTER }} </div> |