aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-19 11:36:40 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-19 11:36:40 +0100
commit5e76c9ade203830c7f9a904d049dd54299a215b1 (patch)
tree6c530ba0a639b5f8859f4716778e076f9fb4dc28 /pydis_site/templates/wiki
parentSearching and pagination (diff)
Big pagination changes because the wiki is stupid
Diffstat (limited to 'pydis_site/templates/wiki')
-rw-r--r--pydis_site/templates/wiki/history.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/pydis_site/templates/wiki/history.html b/pydis_site/templates/wiki/history.html
index d0a0d868..afc6eafe 100644
--- a/pydis_site/templates/wiki/history.html
+++ b/pydis_site/templates/wiki/history.html
@@ -118,8 +118,10 @@
</div>
{% endfor %}
+ {% include "wiki/includes/pagination.html" %}
+
{% if is_paginated %}
- {% include "base/paginator.html" with page=page_obj %}
+ {% include "base/paginator.html" %}
{% endif %}
{% if revisions.count > 1 and article|can_write:user and not article.current_revision.locked %}