mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +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>
|
||||
{% if request.user.id == user.id or admin_mode %}
|
||||
|
||||
<a href="{% url 'user-relationships' user|username 'followers' %}">{% blocktrans trimmed count counter=user.followers.count %}
|
||||
{{ counter }} follower
|
||||
<a href="{% url 'user-relationships' user|username 'followers' %}">{% blocktrans trimmed count counter=user.followers.count with display_count=user.followers.count|intcomma %}
|
||||
{{ display_count }} follower
|
||||
{% plural %}
|
||||
{{ counter }} followers
|
||||
{{ display_count }} followers
|
||||
{% 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
|
||||
{% endblocktrans %}</a>
|
||||
|
||||
|
|
Loading…
Reference in a new issue