add user count to /blockers and /blocking too

pull/200/head
Aevann 2023-09-05 20:31:05 +03:00
parent 2dafbe0a8a
commit 72a1830946
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}@{{u.username}}'s blockers{% endblock %}
{% block content %}
<h5 class="my-3">@{{u.username}}'s blockers</h5>
<h5 class="my-3">@{{u.username}}'s blockers ({{users|length}} users)</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}Users blocked by @{{u.username}}{% endblock %}
{% block content %}
<h5 class="my-3">Users blocked by @{{u.username}}</h5>
<h5 class="my-3">Users blocked by @{{u.username}} ({{users|length}} users)</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>