{% load i18n %} {% load utilities %} {% load humanize %} {% load bookwyrm_tags %} {% if request.GET.updated %}
{% trans "You successfully added a user to this group!" %}
{% endif %}

Group Members

{% trans "Members can add and remove books on your group's book lists" %}

{% block panel %}
{% include 'snippets/suggested_users.html' with suggested_users=suggested_users %}
{% endblock %}
{% for member in group.members.all %}
{% include 'snippets/avatar.html' with user=member large=True %} {{ member.display_name|truncatechars:10 }} @{{ member|username|truncatechars:8 }} {% if group.user == member %} Manager {% endif %} {% include 'snippets/add_to_group_button.html' with user=member minimal=True %} {% if member.mutuals %}

{% blocktrans trimmed with mutuals=member.mutuals|intcomma count counter=member.mutuals %} {{ mutuals }} follower you follow {% plural %} {{ mutuals }} followers you follow{% endblocktrans %}

{% elif member.shared_books %}

{% blocktrans trimmed with shared_books=member.shared_books|intcomma count counter=member.shared_books %} {{ shared_books }} book on your shelves {% plural %} {{ shared_books }} books on your shelves {% endblocktrans %}

{% elif request.user in member.following.all %}

{% trans "Follows you" %}

{% endif %}
{% endfor %}