Show invite request count

This commit is contained in:
Mouse Reeve 2021-03-28 11:15:26 -07:00
parent b377c5bc22
commit 71f6e0d330
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@
{% trans "Ignored Invite Requests" %}
{% else %}
{% trans "Invite Requests" %}
{% endif %}
{% endif %} ({{ count }})
</h2>
<table class="table is-striped">

View file

@ -101,6 +101,7 @@ class ManageInviteRequests(View):
data = {
"ignored": ignored,
"count": paginated.count,
"requests": paginated.page(page),
}
return TemplateResponse(request, "settings/manage_invite_requests.html", data)