mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Move pagination controls into base report
This commit is contained in:
parent
07ebbc24a4
commit
e6cd2b9483
@ -8,7 +8,6 @@
|
||||
{% block listing %}
|
||||
{% include "wagtailadmin/reports/listing/_list_page_report.html" %}
|
||||
{% endblock %}
|
||||
{% paginate pages base_url=request.path %}
|
||||
{% else %}
|
||||
{% block no_results %}
|
||||
<p>{% trans "No pages match this report's criteria." %}</p>
|
||||
|
@ -34,6 +34,9 @@
|
||||
<div class="report__results">
|
||||
{% block results %}
|
||||
{% endblock %}
|
||||
{% if page_obj %}
|
||||
{% paginate page_obj base_url=request.path %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if filters %}
|
||||
<div class="report__filters">
|
||||
|
Loading…
Reference in New Issue
Block a user