master
Aevann 2024-11-13 03:32:47 +02:00
parent 7bca5b0fb2
commit df1744d542
9 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@
{% block pagetype %}search{% endblock %}
{% block pagetitle %}Search for "{{query}}"{% endblock %}
{% block head_final %}
<meta name="description" content="{{total}} result{{'s' if total != 1 else ''}}">
<meta name="description" content="{{total | commas}} result{{'s' if total != 1 else ''}}">
{% endblock %}
{% block PseudoSubmitForm %}
@ -98,7 +98,7 @@
<br>
<script defer src="{{'js/search.js' | asset}}"></script>
<div class="text-muted text-small mb-1">Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1 else ''}} for</div>
<div class="text-muted text-small mb-1">Showing {% block listinglength %}{{listing | length | commas}}{% endblock %} of {{total | commas}} result{{'s' if total != 1 else ''}} for</div>
<h4 class=" mb-0">{{query}}</h4>
{% if not '/users' in request.path %}

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 ({{total}} user{{macros.plural(total)}})</h5>
<h5 class="my-3">@{{u.username}}'s blockers ({{total | commas}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1">
<table>
<thead>
@ -28,4 +28,4 @@
{{macros.pagination()}}
{% endblock %}
({{total}} user{{macros.plural(total)}})
({{total | commas}} user{{macros.plural(total)}})

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}} ({{total}} user{{macros.plural(total)}})</h5>
<h5 class="my-3">Users blocked by @{{u.username}} ({{total | commas}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1">
<table>

View File

@ -2,7 +2,7 @@
{% block pagetitle %}@{{u.username}}'s Chats{% endblock %}
{% block content %}
<h5 class="pt-4 pl-2 pb-3">@{{u.username}}'s Chats ({{total}} chat{{macros.plural(total)}})</h5>
<h5 class="pt-4 pl-2 pb-3">@{{u.username}}'s Chats ({{total | commas}} chat{{macros.plural(total)}})</h5>
<div class="overflow-x-auto">
<table>
<thead>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}@{{u.username}}'s followers{% endblock %}
{% block content %}
<h5 class="my-3">@{{u.username}}'s followers ({{total}} user{{macros.plural(total)}})</h5>
<h5 class="my-3">@{{u.username}}'s followers ({{total | commas}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1">
<table>
<thead>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}Users followed by @{{u.username}}{% endblock %}
{% block content %}
<h5 class="my-3">Users followed by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
<h5 class="my-3">Users followed by @{{u.username}} ({{total | commas}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto">
<table>
<thead>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}@{{u.username}}'s notification muters{% endblock %}
{% block content %}
<h5 class="my-3">@{{u.username}}'s notification muters ({{total}} user{{macros.plural(total)}})</h5>
<h5 class="my-3">@{{u.username}}'s notification muters ({{total | commas}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1">
<table>
<thead>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}Users whose notifications are muted by @{{u.username}}{% endblock %}
{% block content %}
<h5 class="my-3">Users whose notifications are muted by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
<h5 class="my-3">Users whose notifications are muted by @{{u.username}} ({{total | commas}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1">
<table>
<thead>

View File

@ -2,7 +2,7 @@
{% block pagetitle %}@{{u.username}}'s Profile Views{% endblock %}
{% block content %}
<h5 class="pt-4 pl-2 pb-3">Users who viewed @{{u.username}}'s profile ({{total}} user{{macros.plural(total)}})</h5>
<h5 class="pt-4 pl-2 pb-3">Users who viewed @{{u.username}}'s profile ({{total | commas}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto">
<table>
<thead>