Indenting these templates because I'm pedantic about tag sections

having their content indented :)
This commit is contained in:
Christopher Allan Webber 2011-05-10 16:24:51 -05:00
parent 9a16e16ffa
commit 2eef8761d8
2 changed files with 12 additions and 12 deletions

View File

@ -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 %}

View 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 %}