Print the number of users on the channels in Insights

This commit is contained in:
2022-07-21 13:52:27 +01:00
parent e4487c8bf0
commit bb8f6d119e
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
{% load index %}
<div id="channels">
<div class="content" style="max-height: 30em; overflow: auto;">
<table class="table is-fullwidth is-hoverable">
@@ -13,6 +15,11 @@
class="button is-small">
{{ chan }}
</span>
{% if chan in num_users %}
<span class="tag">
{{ num_users|index:chan }}
</span>
{% endif %}
</td>
</tr>
{% endfor %}