mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Uses comma formatting on user follower/following display values
This commit is contained in:
parent
66250e0dd8
commit
27c40ccf20
1 changed files with 4 additions and 4 deletions
|
@ -23,12 +23,12 @@
|
||||||
<p>
|
<p>
|
||||||
{% if request.user.id == user.id or admin_mode %}
|
{% if request.user.id == user.id or admin_mode %}
|
||||||
|
|
||||||
<a href="{% url 'user-relationships' user|username 'followers' %}">{% blocktrans trimmed count counter=user.followers.count %}
|
<a href="{% url 'user-relationships' user|username 'followers' %}">{% blocktrans trimmed count counter=user.followers.count with display_count=user.followers.count|intcomma %}
|
||||||
{{ counter }} follower
|
{{ display_count }} follower
|
||||||
{% plural %}
|
{% plural %}
|
||||||
{{ counter }} followers
|
{{ display_count }} followers
|
||||||
{% endblocktrans %}</a>,
|
{% endblocktrans %}</a>,
|
||||||
<a href="{% url 'user-relationships' user|username 'following' %}">{% blocktrans trimmed with counter=user.following.count %}
|
<a href="{% url 'user-relationships' user|username 'following' %}">{% blocktrans trimmed with counter=user.following.count|intcomma %}
|
||||||
{{ counter }} following
|
{{ counter }} following
|
||||||
{% endblocktrans %}</a>
|
{% endblocktrans %}</a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue