diff options
author | Salvatore Iovene <salvatore@iovene.com> | 2012-11-03 03:52:47 -0400 |
---|---|---|
committer | Salvatore Iovene <salvatore@iovene.com> | 2012-11-03 03:52:47 -0400 |
commit | 5c97c839bec32595a1f633d38cfd5aa0d4f76eb2 (patch) | |
tree | d155f59f6d05e9c2f839a3ef11a2270b69c55f7e | |
parent | 991ba9083e23837d1224f267f2a0ef641d8cbe16 (diff) | |
download | askbot-5c97c839bec32595a1f633d38cfd5aa0d4f76eb2.tar.gz askbot-5c97c839bec32595a1f633d38cfd5aa0d4f76eb2.tar.bz2 askbot-5c97c839bec32595a1f633d38cfd5aa0d4f76eb2.zip |
Prevents sidebar footer from showing, if it's not defined.
-rw-r--r-- | askbot/templates/question/sidebar.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/askbot/templates/question/sidebar.html b/askbot/templates/question/sidebar.html index 4d431ef2..b3c33709 100644 --- a/askbot/templates/question/sidebar.html +++ b/askbot/templates/question/sidebar.html @@ -171,6 +171,8 @@ {#% endcache %#} {% endif %} -<div class="box"> - {{ settings.SIDEBAR_QUESTION_FOOTER }} -</div> +{% if settings.SIDEBAR_QUESTION_FOOTER %} + <div class="box"> + {{ settings.SIDEBAR_QUESTION_FOOTER }} + </div> +{% endif %} |