From df1744d54207e4920d04cdabbc82176b6e941ac5 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 13 Nov 2024 03:32:47 +0200 Subject: [PATCH] commas --- files/templates/search.html | 4 ++-- files/templates/userpage/blockers.html | 4 ++-- files/templates/userpage/blocking.html | 2 +- files/templates/userpage/chats.html | 2 +- files/templates/userpage/followers.html | 2 +- files/templates/userpage/following.html | 2 +- files/templates/userpage/muters.html | 2 +- files/templates/userpage/muting.html | 2 +- files/templates/userpage/views.html | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/files/templates/search.html b/files/templates/search.html index b7039a8b8..54f91ca5b 100644 --- a/files/templates/search.html +++ b/files/templates/search.html @@ -2,7 +2,7 @@ {% block pagetype %}search{% endblock %} {% block pagetitle %}Search for "{{query}}"{% endblock %} {% block head_final %} - + {% endblock %} {% block PseudoSubmitForm %} @@ -98,7 +98,7 @@
-
Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1 else ''}} for
+
Showing {% block listinglength %}{{listing | length | commas}}{% endblock %} of {{total | commas}} result{{'s' if total != 1 else ''}} for

{{query}}

{% if not '/users' in request.path %} diff --git a/files/templates/userpage/blockers.html b/files/templates/userpage/blockers.html index af894638b..dc3f8cfd2 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 ({{total}} user{{macros.plural(total)}})
+
@{{u.username}}'s blockers ({{total | commas}} user{{macros.plural(total)}})
@@ -28,4 +28,4 @@ {{macros.pagination()}} {% endblock %} -({{total}} user{{macros.plural(total)}}) +({{total | commas}} user{{macros.plural(total)}}) diff --git a/files/templates/userpage/blocking.html b/files/templates/userpage/blocking.html index e936fc5f3..297964e02 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}} ({{total}} user{{macros.plural(total)}})
+
Users blocked by @{{u.username}} ({{total | commas}} user{{macros.plural(total)}})
diff --git a/files/templates/userpage/chats.html b/files/templates/userpage/chats.html index e6ee633c0..06e70d408 100644 --- a/files/templates/userpage/chats.html +++ b/files/templates/userpage/chats.html @@ -2,7 +2,7 @@ {% block pagetitle %}@{{u.username}}'s Chats{% endblock %} {% block content %} -
@{{u.username}}'s Chats ({{total}} chat{{macros.plural(total)}})
+
@{{u.username}}'s Chats ({{total | commas}} chat{{macros.plural(total)}})
diff --git a/files/templates/userpage/followers.html b/files/templates/userpage/followers.html index 333c0fc03..f5a6a49b5 100644 --- a/files/templates/userpage/followers.html +++ b/files/templates/userpage/followers.html @@ -1,7 +1,7 @@ {% extends "default.html" %} {% block pagetitle %}@{{u.username}}'s followers{% endblock %} {% block content %} -
@{{u.username}}'s followers ({{total}} user{{macros.plural(total)}})
+
@{{u.username}}'s followers ({{total | commas}} user{{macros.plural(total)}})
diff --git a/files/templates/userpage/following.html b/files/templates/userpage/following.html index d2774e9ad..0df919281 100644 --- a/files/templates/userpage/following.html +++ b/files/templates/userpage/following.html @@ -1,7 +1,7 @@ {% extends "default.html" %} {% block pagetitle %}Users followed by @{{u.username}}{% endblock %} {% block content %} -
Users followed by @{{u.username}} ({{total}} user{{macros.plural(total)}})
+
Users followed by @{{u.username}} ({{total | commas}} user{{macros.plural(total)}})
diff --git a/files/templates/userpage/muters.html b/files/templates/userpage/muters.html index 6446974ee..77701da26 100644 --- a/files/templates/userpage/muters.html +++ b/files/templates/userpage/muters.html @@ -1,7 +1,7 @@ {% extends "default.html" %} {% block pagetitle %}@{{u.username}}'s notification muters{% endblock %} {% block content %} -
@{{u.username}}'s notification muters ({{total}} user{{macros.plural(total)}})
+
@{{u.username}}'s notification muters ({{total | commas}} user{{macros.plural(total)}})
diff --git a/files/templates/userpage/muting.html b/files/templates/userpage/muting.html index f927b86de..bcd9b64da 100644 --- a/files/templates/userpage/muting.html +++ b/files/templates/userpage/muting.html @@ -1,7 +1,7 @@ {% extends "default.html" %} {% block pagetitle %}Users whose notifications are muted by @{{u.username}}{% endblock %} {% block content %} -
Users whose notifications are muted by @{{u.username}} ({{total}} user{{macros.plural(total)}})
+
Users whose notifications are muted by @{{u.username}} ({{total | commas}} user{{macros.plural(total)}})
diff --git a/files/templates/userpage/views.html b/files/templates/userpage/views.html index e489fe2c7..a7aa78b39 100644 --- a/files/templates/userpage/views.html +++ b/files/templates/userpage/views.html @@ -2,7 +2,7 @@ {% block pagetitle %}@{{u.username}}'s Profile Views{% endblock %} {% block content %} -
Users who viewed @{{u.username}}'s profile ({{total}} user{{macros.plural(total)}})
+
Users who viewed @{{u.username}}'s profile ({{total | commas}} user{{macros.plural(total)}})