From 8468e45a55634a0fccc1ac8a33d9cdd3cdc023fd Mon Sep 17 00:00:00 2001 From: Atif Haider Date: Tue, 7 Jan 2014 14:43:59 +0530 Subject: Simple, intuitive and responsive theme added. --- SoMA/templates/pagination.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 SoMA/templates/pagination.html (limited to 'SoMA/templates/pagination.html') diff --git a/SoMA/templates/pagination.html b/SoMA/templates/pagination.html new file mode 100644 index 0000000..b8553fd --- /dev/null +++ b/SoMA/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 %} + + {% if articles_page.has_next() %} + + {% endif %} +
+{% endif %} -- cgit