From bd58fbe7df84fc79dde79785f893ec9656da5a7c Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Wed, 30 Aug 2023 12:03:15 -0700 Subject: [PATCH] bootstrap_pagination: disable via comment Wrap the is_pagination usage of bootstrap_pagination with comment/endcomment to avoid incompatible module. We will need to re-write the pagination code. Signed-off-by: Tim Orling --- templates/layerindex/bulkchangesearch.html | 2 ++ templates/layerindex/classes.html | 2 ++ templates/layerindex/classicrecipes.html | 2 ++ templates/layerindex/distros.html | 2 ++ templates/layerindex/history.html | 2 ++ templates/layerindex/layers.html | 2 ++ templates/layerindex/machines.html | 2 ++ templates/layerindex/recipes.html | 2 ++ templates/layerindex/reviewlist.html | 2 ++ templates/layerindex/updatelist.html | 2 ++ 10 files changed, 20 insertions(+) diff --git a/templates/layerindex/bulkchangesearch.html b/templates/layerindex/bulkchangesearch.html index 7f6b8c9..e8d6bd8 100644 --- a/templates/layerindex/bulkchangesearch.html +++ b/templates/layerindex/bulkchangesearch.html @@ -90,10 +90,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %} {% if searched %} diff --git a/templates/layerindex/classes.html b/templates/layerindex/classes.html index bd3b67d..bc3d0ac 100644 --- a/templates/layerindex/classes.html +++ b/templates/layerindex/classes.html @@ -62,10 +62,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %} {% if search_keyword %} diff --git a/templates/layerindex/classicrecipes.html b/templates/layerindex/classicrecipes.html index deedbbb..cf911a5 100644 --- a/templates/layerindex/classicrecipes.html +++ b/templates/layerindex/classicrecipes.html @@ -287,10 +287,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %} {% if searched %} diff --git a/templates/layerindex/distros.html b/templates/layerindex/distros.html index 549257b..0c1b276 100644 --- a/templates/layerindex/distros.html +++ b/templates/layerindex/distros.html @@ -65,10 +65,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %} {% if search_keyword %} diff --git a/templates/layerindex/history.html b/templates/layerindex/history.html index 3c80d92..9ae4431 100644 --- a/templates/layerindex/history.html +++ b/templates/layerindex/history.html @@ -60,10 +60,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} diff --git a/templates/layerindex/layers.html b/templates/layerindex/layers.html index 3e6a4b3..ae9befb 100644 --- a/templates/layerindex/layers.html +++ b/templates/layerindex/layers.html @@ -105,10 +105,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %}

No matching layers in database.

diff --git a/templates/layerindex/machines.html b/templates/layerindex/machines.html index ebbc158..685506d 100644 --- a/templates/layerindex/machines.html +++ b/templates/layerindex/machines.html @@ -64,10 +64,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %} {% if search_keyword %} diff --git a/templates/layerindex/recipes.html b/templates/layerindex/recipes.html index a1878fa..9c15e6c 100644 --- a/templates/layerindex/recipes.html +++ b/templates/layerindex/recipes.html @@ -90,10 +90,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %} {% if search_keyword %} diff --git a/templates/layerindex/reviewlist.html b/templates/layerindex/reviewlist.html index f72787a..18e0d78 100644 --- a/templates/layerindex/reviewlist.html +++ b/templates/layerindex/reviewlist.html @@ -69,10 +69,12 @@ {% if is_paginated %} + {% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+ {% endcomment %} {% endif %} {% else %}

No unpublished layers to review.

diff --git a/templates/layerindex/updatelist.html b/templates/layerindex/updatelist.html index f4f786a..b68a860 100644 --- a/templates/layerindex/updatelist.html +++ b/templates/layerindex/updatelist.html @@ -54,10 +54,12 @@ {% if is_paginated %} +{% comment %} {% load bootstrap_pagination %}
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
+{% endcomment %} {% endif %} {% endautoescape %}