blob: 3fc96bbc34e722e2e9d82898c13d054af8d0ab5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{% extends "photologue/root.html" %}
{% block title %}All Photos{% endblock %}
{% block page-header %}All Photos{% endblock %}
{% block content %}
{% if object_list %}
{% for photo in object_list %}
<div class="gallery-photo">
<a href="{{ photo.get_absolute_url }}"><img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/></a>
</div>
{% endfor %}
{% else %}
<p>No photos were found.</p>
{% endif %}
{% if is_paginated %}
<p>{{ hits }} photos total.</p>
<div id="page_controls">
<p>{% if has_previous %}<a href="{% url pl-photo-list previous %}">Previous</a> | {% endif %} page {{ page }} of {{ pages }} {% if has_next %}| <a href="{% url pl-photo-list next %}">Next</a>{% endif %}</p>
</div>
{% endif %}
{% endblock %}
|