Indenting these templates because I'm pedantic about tag sections
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 10 May 2011 21:24:51 +0000 (16:24 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 10 May 2011 21:24:51 +0000 (16:24 -0500)
having their content indented :)

mediagoblin/templates/mediagoblin/media_details.html
mediagoblin/templates/mediagoblin/user_pages/user.html

index a00354bc836ff8f01f81846744bbbdd45402f150..1b02c809177305a53183f79089a9d49cf5f1c0e4 100644 (file)
 
   {# temporarily, an "image gallery" that isn't one really ;) #}
   {% if media %}
-  <h2>Media details for {{media.title}}</h2>
-  <div>
-    <img src="{{ request.app.public_store.file_url(
-                  media.media_files.main) }}" />
-
-          <br/>Uploaded: {{ media.created}}
-          <br/>Description: {{media.description}}
-  </div>
+    <h2>Media details for {{media.title}}</h2>
+    <div>
+      <img src="{{ request.app.public_store.file_url(
+                    media.media_files.main) }}" />
+  
+      <br/>Uploaded: {{ media.created}}
+      <br/>Description: {{media.description}}
+    </div>
   {% else %}
-  <p>Sorry, no such media found.<p/>
+    <p>Sorry, no such media found.<p/>
   {% endif %}
 {% endblock %}    
index 4ad34f51630c98c934146ac89684706d29692f6d..4fa84430a5c9a7e15a6403ecc0204340c2dd6903 100644 (file)
@@ -18,9 +18,9 @@
 {% extends "mediagoblin/base.html" %}
 {% block mediagoblin_content -%}
   {% if user %}
-  <h2>User page for '{{user.username}}'</h2>
-  {{user}}
+    <h2>User page for '{{ user.username }}'</h2>
+    {{ user }}
   {% else %}
-  <p>Sorry, no such user found.<p/>
+    <p>Sorry, no such user found.<p/>
   {% endif %}
 {% endblock %}