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" %} {% trans "Ignored Invite Requests" %}
{% else %} {% else %}
{% trans "Invite Requests" %} {% trans "Invite Requests" %}
{% endif %} {% endif %} ({{ count }})
</h2> </h2>
<table class="table is-striped"> <table class="table is-striped">

View file

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