Closes #3314: Paginate object changelog entries

This commit is contained in:
Jeremy Stretch
2019-07-18 21:40:36 -04:00
parent 86b6b9bf8b
commit cab3c50ae6
3 changed files with 12 additions and 3 deletions

View File

@@ -4,9 +4,10 @@
{% block content %}
{% if obj %}<h1>{{ obj }}</h1>{% endif %}
{% include 'panel_table.html' with table=objectchanges_table %}
{% include 'panel_table.html' %}
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
{% if settings.CHANGELOG_RETENTION %}
<div class="pull-right text-muted">
<div class="text-muted">
Changelog retention: {{ settings.CHANGELOG_RETENTION }} days
</div>
{% endif %}