summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/patchwork/pagination.html')
-rw-r--r--templates/patchwork/pagination.html45
1 files changed, 0 insertions, 45 deletions
diff --git a/templates/patchwork/pagination.html b/templates/patchwork/pagination.html
deleted file mode 100644
index 3e95126..0000000
--- a/templates/patchwork/pagination.html
+++ /dev/null
@@ -1,45 +0,0 @@
-{% load listurl %}
-
-{% ifnotequal page.paginator.num_pages 1 %}
-<div class="paginator">
-{% if page.has_previous %}
- <span class="prev">
- <a href="{% listurl page=page.previous_page_number %}"
- title="Previous Page">&laquo; Previous</a></span>
-{% else %}
- <span class="prev-na">&laquo; Previous</span>
-{% endif %}
-
-{% if page.paginator.trailing_set %}
- {% for p in page.paginator.trailing_set %}
- <span class="page"><a href="{% listurl page=p %}" >{{ p }}</a></span>
- {% endfor %}
- ...
-{% endif %}
-
-{% for p in page.paginator.adjacent_set %}
- {% ifequal p page.number %}
- <span class="curr" title="Current Page">{{ p }}</span>
- {% else %}
- <span class="page"><a href="{% listurl page=p %}"
- title="Page {{ p }}">{{ p }}</a></span>
- {% endifequal %}
-{% endfor %}
-
-{% if page.paginator.leading_set %}
- ...
- {% for p in page.paginator.leading_set %}
- <span class="page"><a href="{% listurl page=p %}">{{ p }}</a></span>
- {% endfor %}
-{% endif %}
-
-{% if page.has_next %}
- <span class="next">
- <a href="{% listurl page=page.next_page_number %}"
- title="Next Page">Next &raquo;</a>
- </span>
-{% else %}
- <span class="next-na">Next &raquo;</span>
-{% endif %}
-</div>
-{% endifnotequal %}