@@ -90,10 +90,12 @@
<input type="submit" class="btn btn-default" name="add_all" value="Add all"></input>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
{% if searched %}
@@ -62,10 +62,12 @@
</table>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
{% if search_keyword %}
@@ -287,10 +287,12 @@
</table>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
{% if searched %}
@@ -65,10 +65,12 @@
</table>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
{% if search_keyword %}
@@ -60,10 +60,12 @@
</table>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
@@ -105,10 +105,12 @@
</table>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
<p>No matching layers in database.</p>
@@ -64,10 +64,12 @@
</table>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
{% if search_keyword %}
@@ -90,10 +90,12 @@
</table>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
{% if search_keyword %}
@@ -69,10 +69,12 @@
</div>
{% if is_paginated %}
+ {% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+ {% endcomment %}
{% endif %}
{% else %}
<p>No unpublished layers to review.</p>
@@ -54,10 +54,12 @@
</div>
{% if is_paginated %}
+{% comment %}
{% load bootstrap_pagination %}
<div class="text-center">
{% bootstrap_paginate page_obj range=10 show_prev_next="false" show_first_last="true" %}
</div>
+{% endcomment %}
{% endif %}
{% endautoescape %}
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 <tim.orling@konsulko.com> --- 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(+)