Simple pagination for /activity-history

This commit is contained in:
richard-dds
2018-11-12 15:33:33 -05:00
parent c3e395753c
commit 5b0383bde3
2 changed files with 17 additions and 1 deletions

View File

@@ -40,5 +40,13 @@
</section>
{% for i in range(1, audit_events.pages + 1) %}
{% if i == audit_events.page %}
{{ i }}
{% else %}
<a href="{{ url_for('atst.activity_history', page=i) }}">{{ i }}</a>
{% endif %}
{% endfor %}
{% endblock %}