1. Julian Moritz
  2. django-photologue

Commits

Julian Moritz  committed c92e492

removed pagination from templates

  • Participants
  • Parent commits c433e8c
  • Branches default

Comments (0)

Files changed (2)

File photologue/templates/photologue/gallery_list.html

View file
  • Ignore whitespace
     <p>No galleries were found.</p>
 {% endif %}
 
-{% if is_paginated %}
-<p>{{ hits }} galleries total.</p>
-<div id="page_controls">
-    <p>{% if has_previous %}<a href="{% url pl-gallery-list previous %}">Previous</a> | {% endif %} page {{ page }} of {{ pages }} {% if has_next %}| <a href="{% url pl-gallery-list next %}">Next</a>{% endif %}</p>
-</div>
-{% endif %}
-
 {% endblock %}

File photologue/templates/photologue/photo_list.html

View file
  • Ignore whitespace
 <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 %}