From: Rodney Ewing Date: Tue, 14 May 2013 19:36:13 +0000 (-0700) Subject: fix for bug when comments are disabled, link attribute is never closed X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7c41b9d72117bd22e961eb57e1f3c8d9ee5f5687;p=mediagoblin.git fix for bug when comments are disabled, link attribute is never closed --- 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 %}