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 ;) #} {# temporarily, an "image gallery" that isn't one really ;) #}
{% if media %} {% if media %}
<h2>Media details for {{media.title}}</h2> <h2>Media details for {{media.title}}</h2>
<div> <div>
<img src="{{ request.app.public_store.file_url( <img src="{{ request.app.public_store.file_url(
media.media_files.main) }}" /> media.media_files.main) }}" />
<br/>Uploaded: {{ media.created}} <br/>Uploaded: {{ media.created}}
<br/>Description: {{media.description}} <br/>Description: {{media.description}}
</div> </div>
{% else %} {% else %}
<p>Sorry, no such media found.<p/> <p>Sorry, no such media found.<p/>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -18,9 +18,9 @@
{% extends "mediagoblin/base.html" %} {% extends "mediagoblin/base.html" %}
{% block mediagoblin_content -%} {% block mediagoblin_content -%}
{% if user %} {% if user %}
<h2>User page for '{{user.username}}'</h2> <h2>User page for '{{ user.username }}'</h2>
{{user}} {{ user }}
{% else %} {% else %}
<p>Sorry, no such user found.<p/> <p>Sorry, no such user found.<p/>
{% endif %} {% endif %}
{% endblock %} {% endblock %}