diff --git a/website/common/templates/common/listing_page.html b/website/common/templates/common/listing_page.html index 9c40506..45bc1b9 100644 --- a/website/common/templates/common/listing_page.html +++ b/website/common/templates/common/listing_page.html @@ -1,6 +1,6 @@ {% extends "common/content_page.html" %} -{% load wagtailroutablepage_tags %} +{% load wagtailroutablepage_tags wagtailadmin_tags %} {% block extra_head %} {{ block.super }} @@ -9,6 +9,15 @@ {% block hero_buttons %} + + {% if listing_pages.has_previous %} + + {% endif %} + + {% if listing_pages.has_next %} + + {% endif %} + {{ block.super }} {% endblock %} diff --git a/website/common/templates/common/pagination.html b/website/common/templates/common/pagination.html index 9232476..38c443f 100644 --- a/website/common/templates/common/pagination.html +++ b/website/common/templates/common/pagination.html @@ -2,15 +2,15 @@