mirror of https://github.com/zulip/zulip.git
71 lines
1.6 KiB
HTML
71 lines
1.6 KiB
HTML
<h2 style="text-align: center;">{{ num_active_sites }} active sites</h2>
|
|
|
|
<table class="table summary-table sortable table-striped table-bordered">
|
|
|
|
<thead class="activity_head">
|
|
<tr>
|
|
<th>Domain</th>
|
|
<th>Active users</th>
|
|
<th>At-risk users</th>
|
|
<th>Total users</th>
|
|
<th>Bots</th>
|
|
<th>Hours per user</th>
|
|
<th>Hours</th>
|
|
<th></th>
|
|
<th colspan=8>Messages sent</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{% for row in rows %}
|
|
<tr>
|
|
|
|
{# Domain #}
|
|
<td>
|
|
{{ row.domain }}
|
|
</td>
|
|
|
|
{# Active users #}
|
|
<td class="number">
|
|
{{ row.active_user_count }}
|
|
</td>
|
|
|
|
{# At risk users #}
|
|
<td class="number">
|
|
{{ row.at_risk_count }}
|
|
</td>
|
|
|
|
{# Total users #}
|
|
<td class="number">
|
|
{{ row.user_profile_count }}
|
|
</td>
|
|
|
|
{# Bots #}
|
|
<td class="number">
|
|
{{ row.bot_count }}
|
|
</td>
|
|
|
|
{# Hours per user #}
|
|
<td class="number">
|
|
{{ row.hours_per_user }}
|
|
</td>
|
|
|
|
{# Hours #}
|
|
<td class="number">
|
|
{{ row.hours }}
|
|
</td>
|
|
|
|
<td> </td>
|
|
|
|
{# Messages sent #}
|
|
{% if row.history %}
|
|
{{ row.history|safe }}
|
|
{% else %}
|
|
<td colspan=8></td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
|
|
</table>
|