summaryrefslogtreecommitdiff
path: root/app/lib
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2014-06-24 12:05:46 -0400
committerluxagraf <sng@luxagraf.net>2014-06-24 12:05:46 -0400
commitcc70aa809252899dfd062feb241aaecede66bd02 (patch)
treeed0468f58a240d1c46d7532eddb3c40e455ee4ff /app/lib
parent78d265997ac26aecfb350ccf497ec2de3f3fad4b (diff)
Rewrote all sass and reconfigured HTML to use more microformats and
clearer class names
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/pagination/templates/pagination/pagination.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/lib/pagination/templates/pagination/pagination.html b/app/lib/pagination/templates/pagination/pagination.html
index 1afb3d7..0b99346 100644
--- a/app/lib/pagination/templates/pagination/pagination.html
+++ b/app/lib/pagination/templates/pagination/pagination.html
@@ -1,10 +1,9 @@
{% load pagination_tags %}{% if is_paginated %}
<ul class="pages">{% if page_obj.has_previous %}
- <li><a href="{% page_path prev_page %}" class="prev">&lsaquo;&lsaquo; previous</a></li>{% else %}
- <li class="disabled prev"></li>{% endif %}{% for page in pages %}{% if page %}{% if page == page_obj.number %}
+ <li><a href="{% page_path prev_page %}" class="prev"> Newer</a></li>{% endif %}{% for page in pages %}{% if page %}{% if page == page_obj.number %}
<li class="current page">{{ page }}</li>{% else %}
<li><a href="{% page_path page %}" class="page">{{ page }}</a></li>{% endif %}{% else %}
<li>...</li>{% endif %}{% endfor %}{% if page_obj.has_next %}
- <li><a href="{% if use_page_path %}{% page_path next_page %}{% else %}?page={{ page_obj.next_page_number }}{{ getvars }}{% endif %}" class="next">next &rsaquo;&rsaquo;</a></li>{% else %}
- <li class="disabled next">next &rsaquo;&rsaquo;</li>{% endif %}
- </ul>{% endif %} \ No newline at end of file
+ <li><a href="{% if use_page_path %}{% page_path next_page %}{% else %}?page={{ page_obj.next_page_number }}{{ getvars }}{% endif %}" class="next">Older</a></li>
+ {% endif %}
+ </ul>{% endif %}