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/conf/sidebar_main.py | |
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/conf/sidebar_main.py')
-rw-r--r-- | askbot/conf/sidebar_main.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/askbot/conf/sidebar_main.py b/askbot/conf/sidebar_main.py index 8fa4bdf0..97b89e37 100644 --- a/askbot/conf/sidebar_main.py +++ b/askbot/conf/sidebar_main.py @@ -32,6 +32,15 @@ settings.register( settings.register( values.BooleanValue( SIDEBAR_MAIN, + 'SIDEBAR_MAIN_HEADER_ANON_ONLY', + description=_('Show above only to anonymous users'), + default=False + ) +) + +settings.register( + values.BooleanValue( + SIDEBAR_MAIN, 'SIDEBAR_MAIN_SHOW_AVATARS', description = _('Show avatar block in sidebar'), help_text = _( @@ -94,3 +103,12 @@ settings.register( ) ) +settings.register( + values.BooleanValue( + SIDEBAR_MAIN, + 'SIDEBAR_MAIN_FOOTER_ANON_ONLY', + default=False, + description=_('Show above only to anonymous users') + ) +) + |