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 ;) #}
|
{# 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 %}
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user