From 7c41b9d72117bd22e961eb57e1f3c8d9ee5f5687 Mon Sep 17 00:00:00 2001 From: Rodney Ewing Date: Tue, 14 May 2013 12:36:13 -0700 Subject: [PATCH] fix for bug when comments are disabled, link attribute is never closed --- mediagoblin/templates/mediagoblin/user_pages/media.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 667510d5..fa03c2dd 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -86,15 +86,15 @@

{{ media.description_html }}

{% endautoescape %} {% if comments %} + {% if app_config['allow_comments'] %} {% trans %}Add a comment{% endtrans %} - {% endif %} + {% endif %} {% if request.user %}