diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-03-11 18:52:17 -0700 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-03-11 18:52:17 -0700 |
commit | 61b7f3069b9defca7134fec85d82b7f62d92e584 (patch) | |
tree | 7a473e28ab41de8c193e7eb23da7548ba156c91f | |
parent | ddbd8c0c9bc6674eeb0d435b04b5f0463701b6c1 (diff) | |
parent | 5c97c839bec32595a1f633d38cfd5aa0d4f76eb2 (diff) | |
download | askbot-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.html | 8 |
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 %} |