Show user count in federated server table
This commit is contained in:
parent
c01fea9dba
commit
22f01508d2
|
@ -40,6 +40,9 @@
|
||||||
{% trans "Software" as text %}
|
{% trans "Software" as text %}
|
||||||
{% include 'snippets/table-sort-header.html' with field="application_type" sort=sort text=text %}
|
{% include 'snippets/table-sort-header.html' with field="application_type" sort=sort text=text %}
|
||||||
</th>
|
</th>
|
||||||
|
<th>
|
||||||
|
{% trans "Users" %}
|
||||||
|
</th>
|
||||||
<th>{% trans "Status" %}</th>
|
<th>{% trans "Status" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for server in servers %}
|
{% for server in servers %}
|
||||||
|
@ -52,6 +55,7 @@
|
||||||
{% if server.application_version %}({{ server.application_version }}){% endif %}
|
{% if server.application_version %}({{ server.application_version }}){% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
<td>{{ server.user_set.count }}</td>
|
||||||
<td>{{ server.get_status_display }}</td>
|
<td>{{ server.get_status_display }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue