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/main_page/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/main_page/sidebar.html')
-rw-r--r-- | askbot/templates/main_page/sidebar.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/templates/main_page/sidebar.html b/askbot/templates/main_page/sidebar.html index 7acbe091..610d2b60 100644 --- a/askbot/templates/main_page/sidebar.html +++ b/askbot/templates/main_page/sidebar.html @@ -1,6 +1,6 @@ {% import "macros.html" as macros %} -{% if settings.SIDEBAR_MAIN_HEADER %} +{% if 'SIDEBAR_MAIN_HEADER'|show_block_to(request.user) %} <div class="box"> {{ settings.SIDEBAR_MAIN_HEADER }} </div> @@ -22,7 +22,7 @@ {% include "widgets/related_tags.html" %} {% endif %} -{% if settings.SIDEBARE_MAIN_FOOTER %} +{% if 'SIDEBAR_MAIN_FOOTER'|show_block_to(request.user) %} <div class="box"> {{ settings.SIDEBAR_MAIN_FOOTER }} </div> |