[extensions-web] Don't show the paginator if there aren't other pages
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Don't show the paginator if there aren't other pages
- Date: Tue, 25 Oct 2011 01:32:07 +0000 (UTC)
commit 28384498c57e41692f69b4c0a835b251c034c330
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Oct 24 20:41:04 2011 -0400
Don't show the paginator if there aren't other pages
.../extensions/templates/extensions/list.html | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/list.html b/sweettooth/extensions/templates/extensions/list.html
index daad039..47cfe80 100644
--- a/sweettooth/extensions/templates/extensions/list.html
+++ b/sweettooth/extensions/templates/extensions/list.html
@@ -25,9 +25,11 @@
</ul>
{% load paginator %}
+ {% if page_obj.has_other_pages %}
<div id="paginator">
{% paginator page_obj %}
</div>
+ {% endif %}
{% endblock %}
{% block navclass %}main{% endblock %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]