From 5c97c839bec32595a1f633d38cfd5aa0d4f76eb2 Mon Sep 17 00:00:00 2001 From: Salvatore Iovene Date: Sat, 3 Nov 2012 03:52:47 -0400 Subject: Prevents sidebar footer from showing, if it's not defined. --- askbot/templates/question/sidebar.html | 8 +++++--- 1 file 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 %} -
- {{ settings.SIDEBAR_QUESTION_FOOTER }} -
+{% if settings.SIDEBAR_QUESTION_FOOTER %} +
+ {{ settings.SIDEBAR_QUESTION_FOOTER }} +
+{% endif %} -- cgit v1.2.3-1-g7c22