Adjusting indentation of object_gallery.html
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 4 Jul 2011 14:04:37 +0000 (09:04 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 4 Jul 2011 14:04:37 +0000 (09:04 -0500)
mediagoblin/templates/mediagoblin/utils/object_gallery.html

index 96600c33f29d875c160e8437d82d3664f534cfbb..2c7a71293ad78814e8eeb7a2f6187dd9b53430ad 100644 (file)
 {% from "mediagoblin/utils/pagination.html" import render_pagination %}
 
 {% block object_gallery_content -%}
-    {% if media_entries %}
-      {% for entry in media_entries %}
-        <div class="media_thumbnail">
-          <a href="{{ entry.url_for_self(request.urlgen) }}">
-          <img src="{{ request.app.public_store.file_url(
-                  entry['media_files']['thumb']) }}" /></a>
-        </div>
-      {% endfor %}
-      {% if pagination_base_url %}
-        {# different url, so set that and don't keep the get params #}
-        {{ render_pagination(request, pagination, pagination_base_url, False) }}
-      {% else %}
-        {{ render_pagination(request, pagination) }}
-      {% endif %}
+  {% if media_entries %}
+    {% for entry in media_entries %}
+      <div class="media_thumbnail">
+        <a href="{{ entry.url_for_self(request.urlgen) }}">
+        <img src="{{ request.app.public_store.file_url(
+                         entry['media_files']['thumb']) }}" /></a>
+      </div>
+    {% endfor %}
+    {% if pagination_base_url %}
+      {# different url, so set that and don't keep the get params #}
+      {{ render_pagination(request, pagination, pagination_base_url, False) }}
+    {% else %}
+      {{ render_pagination(request, pagination) }}
     {% endif %}
+  {% endif %}
 {% endblock %}