aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-05-10 16:24:51 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-05-10 16:24:51 -0500
commit2eef8761d835cfbda42a9e9437ac475ddf12918a (patch)
treec5d5efb0e4484f39eaa2e3a33158d9f832e13bdf
parent9a16e16ffa9c0477bec6ea0bf1db7efd6f988638 (diff)
downloadmediagoblin-2eef8761d835cfbda42a9e9437ac475ddf12918a.tar.lz
mediagoblin-2eef8761d835cfbda42a9e9437ac475ddf12918a.tar.xz
mediagoblin-2eef8761d835cfbda42a9e9437ac475ddf12918a.zip
Indenting these templates because I'm pedantic about tag sections
having their content indented :)
-rw-r--r--mediagoblin/templates/mediagoblin/media_details.html18
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/user.html6
2 files changed, 12 insertions, 12 deletions
diff --git a/mediagoblin/templates/mediagoblin/media_details.html b/mediagoblin/templates/mediagoblin/media_details.html
index a00354bc..1b02c809 100644
--- a/mediagoblin/templates/mediagoblin/media_details.html
+++ b/mediagoblin/templates/mediagoblin/media_details.html
@@ -20,15 +20,15 @@
{# 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 %}
diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html
index 4ad34f51..4fa84430 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/user.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/user.html
@@ -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 %}