summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-11 18:52:17 -0700
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-11 18:52:17 -0700
commit61b7f3069b9defca7134fec85d82b7f62d92e584 (patch)
tree7a473e28ab41de8c193e7eb23da7548ba156c91f
parentddbd8c0c9bc6674eeb0d435b04b5f0463701b6c1 (diff)
parent5c97c839bec32595a1f633d38cfd5aa0d4f76eb2 (diff)
downloadaskbot-61b7f3069b9defca7134fec85d82b7f62d92e584.tar.gz
askbot-61b7f3069b9defca7134fec85d82b7f62d92e584.tar.bz2
askbot-61b7f3069b9defca7134fec85d82b7f62d92e584.zip
Merge pull request #97 from siovene/conditional-sidebar-footer
Prevents sidebar footer from showing, if it's not defined.
-rw-r--r--askbot/templates/question/sidebar.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/askbot/templates/question/sidebar.html b/askbot/templates/question/sidebar.html
index 905ce781..17820096 100644
--- a/askbot/templates/question/sidebar.html
+++ b/askbot/templates/question/sidebar.html
@@ -173,6 +173,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 %}