Show user count in federated server table

This commit is contained in:
Mouse Reeve 2021-09-12 09:59:35 -07:00
parent c01fea9dba
commit 22f01508d2

View file

@ -40,6 +40,9 @@
{% trans "Software" as text %}
{% include 'snippets/table-sort-header.html' with field="application_type" sort=sort text=text %}
</th>
<th>
{% trans "Users" %}
</th>
<th>{% trans "Status" %}</th>
</tr>
{% for server in servers %}
@ -52,6 +55,7 @@
{% if server.application_version %}({{ server.application_version }}){% endif %}
{% endif %}
</td>
<td>{{ server.user_set.count }}</td>
<td>{{ server.get_status_display }}</td>
</tr>
{% endfor %}