Adjusting indentation of object_gallery.html
This commit is contained in:
parent
a3a17d1068
commit
51ca54a835
@ -19,19 +19,19 @@
|
|||||||
{% from "mediagoblin/utils/pagination.html" import render_pagination %}
|
{% from "mediagoblin/utils/pagination.html" import render_pagination %}
|
||||||
|
|
||||||
{% block object_gallery_content -%}
|
{% block object_gallery_content -%}
|
||||||
{% if media_entries %}
|
{% if media_entries %}
|
||||||
{% for entry in media_entries %}
|
{% for entry in media_entries %}
|
||||||
<div class="media_thumbnail">
|
<div class="media_thumbnail">
|
||||||
<a href="{{ entry.url_for_self(request.urlgen) }}">
|
<a href="{{ entry.url_for_self(request.urlgen) }}">
|
||||||
<img src="{{ request.app.public_store.file_url(
|
<img src="{{ request.app.public_store.file_url(
|
||||||
entry['media_files']['thumb']) }}" /></a>
|
entry['media_files']['thumb']) }}" /></a>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if pagination_base_url %}
|
{% if pagination_base_url %}
|
||||||
{# different url, so set that and don't keep the get params #}
|
{# different url, so set that and don't keep the get params #}
|
||||||
{{ render_pagination(request, pagination, pagination_base_url, False) }}
|
{{ render_pagination(request, pagination, pagination_base_url, False) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ render_pagination(request, pagination) }}
|
{{ render_pagination(request, pagination) }}
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user