Show avatars in user admin view

I find this helpful as a rough hueristic for how engaged a user is -- if
they've never added an avatar, it's often the case that they never
really got further in to using the app than just registering a username.
Also, on one occassion, a user had an avatar that violated the instance
ToS, which would have been handy to see at a glance in this list.
This commit is contained in:
Mouse Reeve 2022-07-08 09:10:29 -07:00
parent 16a76dba72
commit 5bb001e15f

View file

@ -36,7 +36,7 @@
<table class="table is-striped is-fullwidth">
<tr>
{% url 'settings-users' as url %}
<th>
<th colspan="2">
{% trans "Username" as text %}
{% include 'snippets/table-sort-header.html' with field="username" sort=sort text=text %}
</th>
@ -61,7 +61,10 @@
</tr>
{% for user in users %}
<tr>
<td class="overflow-wrap-anywhere">
<td class="pr-0">
{% include 'snippets/avatar.html' with user=user %}
</td>
<td class="overflow-wrap-anywhere pl-1">
<a href="{% url 'settings-user' user.id %}">{{ user|username }}</a>
</td>
<td>{{ user.created_date }}</td>