Normalizing indentation a bit in media.html
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 14 May 2013 19:57:37 +0000 (14:57 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 14 May 2013 19:57:37 +0000 (14:57 -0500)
This commit sponsored by Christian Frank.  Thank you!

mediagoblin/templates/mediagoblin/user_pages/media.html

index fa03c2dd81446eff5dde02c055fff464dd00bd97..92c01c48b6e1791b4dd048779bb115b848682565 100644 (file)
       <p>{{ media.description_html }}</p>
     {% endautoescape %}
     {% if comments %}
-                                       {% if app_config['allow_comments'] %}
-          <a
-            {% if not request.user %}
-              href="{{ request.urlgen('mediagoblin.auth.login') }}"
-            {% endif %}
-              class="button_action" id="button_addcomment" title="Add a comment">
-              {% trans %}Add a comment{% endtrans %}
-          </a>
-                                       {% endif %}
+      {% if app_config['allow_comments'] %}
+        <a
+          {% if not request.user %}
+            href="{{ request.urlgen('mediagoblin.auth.login') }}"
+          {% endif %}
+          class="button_action" id="button_addcomment" title="Add a comment">
+          {% trans %}Add a comment{% endtrans %}
+        </a>
+      {% endif %}
       {% if request.user %}
         <form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment',
                                          user= media.get_uploader.username,