diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-10 19:52:18 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-10 19:52:18 -0500 |
commit | d97cdc198952f3286c027459b4e37cc0a94361f3 (patch) | |
tree | 5c659b9acf6d3177d095374224e3c44853907e78 /forum/templates/paginator.html | |
parent | ee38739d3b681f7d9fb61b650368d08e290a46bb (diff) | |
download | askbot-d97cdc198952f3286c027459b4e37cc0a94361f3.tar.gz askbot-d97cdc198952f3286c027459b4e37cc0a94361f3.tar.bz2 askbot-d97cdc198952f3286c027459b4e37cc0a94361f3.zip |
second take on skins - quite a bit simpler
Diffstat (limited to 'forum/templates/paginator.html')
-rw-r--r-- | forum/templates/paginator.html | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/forum/templates/paginator.html b/forum/templates/paginator.html deleted file mode 100644 index 2fba5425..00000000 --- a/forum/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" %}"> -« {% 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" %} »</a></span>{% endif %} -</div> -{% endif %} - -{% endspaceless %} -<!-- end paginator.html --> |