Fixed member count in space settings.

This commit is contained in:
MaxJa4
2022-02-24 19:31:42 +01:00
parent b2fa1db4f9
commit 95b63d882b

View File

@@ -88,9 +88,8 @@
<h4> <h4>
{% trans 'Members' %} {% trans 'Members' %}
<small class="text-muted" <small class="text-muted"
>{{ space_users|length }}/ {% if request.space.max_users > 0 %} {{ request.space.max_users }}{% else >{{ space_users|length }}/{% if request.space.max_users > 0 %} {{ request.space.max_users }}{% else %}∞{% endif %}
%}∞{% endif %}</small </small>
>
<a class="btn btn-success float-right" href="{% url 'new_invite_link' %}" <a class="btn btn-success float-right" href="{% url 'new_invite_link' %}"
><i class="fas fa-plus-circle"></i> {% trans 'Invite User' %}</a ><i class="fas fa-plus-circle"></i> {% trans 'Invite User' %}</a
> >