summaryrefslogtreecommitdiffstats
path: root/templates/paginator.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-09 16:48:38 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-09 16:48:38 -0500
commit3c4c71fc19865bfb75231c425fae31c6b2c211de (patch)
tree535fc16fef76b1e89e136c3e4a0947fe8613fe01 /templates/paginator.html
parentbdf1cc4f9dd3f0ac06ba1af3c7d35c72cc358297 (diff)
downloadaskbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.gz
askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.tar.bz2
askbot-3c4c71fc19865bfb75231c425fae31c6b2c211de.zip
started working towards skinning forum app - first step - move templates to app
Diffstat (limited to 'templates/paginator.html')
-rw-r--r--templates/paginator.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/templates/paginator.html b/templates/paginator.html
deleted file mode 100644
index 2fba5425..00000000
--- a/templates/paginator.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!-- paginator.html -->
-{% spaceless %}
-{% load i18n %}
-{% if is_paginated %}
-<div class="paginator">
-{% if has_previous %}<span class="prev"><a href="{{base_url}}page={{ previous }}{{ extend_url }}" title="{% trans "previous" %}">
-&laquo; {% trans "previous" %}</a></span>{% endif %}
-{% if not in_leading_range %}
- {% for num in pages_outside_trailing_range %}
- <span class="page"><a href="{{base_url}}page={{ num }}{{ extend_url }}" >{{ num }}</a></span>
- {% endfor %}
- ...
-{% endif %}
-
-{% for num in page_numbers %}
- {% ifequal num page %}
- {% ifequal pages 1 %}
- {% else %}
- <span class="curr" title="{% trans "current page" %}">{{ num }}</span>
- {% endifequal %}
- {% else %}
- <span class="page"><a href="{{base_url}}page={{ num }}{{ extend_url }}" title="{% trans "page number " %}{{ num }}{% trans "number - make blank in english" %}">{{ num }}</a></span>
- {% endifequal %}
-{% endfor %}
-
-{% if not in_trailing_range %}
- ...
- {% for num in pages_outside_leading_range reversed %}
- <span class="page"><a href="{{base_url}}page={{ num }}{{ extend_url }}" title="{% trans "page number " %}{{ num }}{% trans "number - make blank in english" %}">{{ num }}</a></span>
- {% endfor %}
-{% endif %}
-
-{% if has_next %}<span class="next"><a href="{{base_url}}page={{ next }}{{ extend_url }}" title="{% trans "next page" %}">{% trans "next page" %} &raquo;</a></span>{% endif %}
-</div>
-{% endif %}
-
-{% endspaceless %}
-<!-- end paginator.html -->