diff --git a/radiocampus/templates/aircox/widgets/list_pagination.html b/radiocampus/templates/aircox/widgets/list_pagination.html new file mode 100644 index 0000000..3542f76 --- /dev/null +++ b/radiocampus/templates/aircox/widgets/list_pagination.html @@ -0,0 +1,45 @@ +{% comment %} +Context: +- is_paginated: if True, page is paginated +- page_obj: page object from list view; +{% endcomment %} +{% load i18n aircox %} + +{% if is_paginated %} +
+{% update_query request.GET.copy page=None as GET %} +{% with GET.urlencode as GET %} + +{% endwith %} +{% endif %}