kopia lustrzana https://github.com/wagtail/wagtail
Move pagination controls into base report
rodzic
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">
|
||||
|
|
Ładowanie…
Reference in New Issue