From 34675f97d61c2c60b945d11beee0febc0d4b5412 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 10 Jul 2012 19:48:21 +0100 Subject: [PATCH] Added pagination --- .../core/templates/core/corporation_list.html | 17 +++++++++++++++++ pacmanager/core/templates/core/key_list.html | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/pacmanager/core/templates/core/corporation_list.html b/pacmanager/core/templates/core/corporation_list.html index 7d6740e..678e67d 100644 --- a/pacmanager/core/templates/core/corporation_list.html +++ b/pacmanager/core/templates/core/corporation_list.html @@ -28,6 +28,23 @@

+ +{% if is_paginated %} + +{% endif %} + {% else %}

No corporations are currently available to you{% if perms.add_key %}, consider adding a API key{% endif %}.

{% endif %} diff --git a/pacmanager/core/templates/core/key_list.html b/pacmanager/core/templates/core/key_list.html index 8c55566..7cc6857 100644 --- a/pacmanager/core/templates/core/key_list.html +++ b/pacmanager/core/templates/core/key_list.html @@ -19,6 +19,23 @@

+ +{% if is_paginated %} + +{% endif %} + {% else %}

No keys are currently stored.

{% endif %}