From 19755337b123da8c02f729ef7f4041f0cbf60545 Mon Sep 17 00:00:00 2001 From: Jiachen Yang Date: Sun, 11 Mar 2012 00:59:53 +0900 Subject: init bootstrap2 --- bootstrap2/templates/pagination.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bootstrap2/templates/pagination.html (limited to 'bootstrap2/templates/pagination.html') diff --git a/bootstrap2/templates/pagination.html b/bootstrap2/templates/pagination.html new file mode 100644 index 0000000..83c587a --- /dev/null +++ b/bootstrap2/templates/pagination.html @@ -0,0 +1,15 @@ +{% if DEFAULT_PAGINATION %} +

+ {% if articles_page.has_previous() %} + {% if articles_page.previous_page_number() == 1 %} + « + {% else %} + « + {% endif %} + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + » + {% endif %} +

+{% endif %} -- cgit