From 72a1830946606ce33a4361826200c3270295223e Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 5 Sep 2023 20:31:05 +0300 Subject: [PATCH] add user count to /blockers and /blocking too --- files/templates/userpage/blockers.html | 2 +- files/templates/userpage/blocking.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/userpage/blockers.html b/files/templates/userpage/blockers.html index dd4f848db..4b4553023 100644 --- a/files/templates/userpage/blockers.html +++ b/files/templates/userpage/blockers.html @@ -1,7 +1,7 @@ {% extends "default.html" %} {% block pagetitle %}@{{u.username}}'s blockers{% endblock %} {% block content %} -
@{{u.username}}'s blockers
+
@{{u.username}}'s blockers ({{users|length}} users)
diff --git a/files/templates/userpage/blocking.html b/files/templates/userpage/blocking.html index 234a545ec..318ee5d30 100644 --- a/files/templates/userpage/blocking.html +++ b/files/templates/userpage/blocking.html @@ -1,7 +1,7 @@ {% extends "default.html" %} {% block pagetitle %}Users blocked by @{{u.username}}{% endblock %} {% block content %} -
Users blocked by @{{u.username}}
+
Users blocked by @{{u.username}} ({{users|length}} users)