Indenting these templates because I'm pedantic about tag sections
having their content indented :)
This commit is contained in:
parent
9a16e16ffa
commit
2eef8761d8
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user