Hide disabled users

This commit is contained in:
Andrew Grant committed 2021-08-05 15:21:19 +08:00
1 parent 5f13454a57
commit 72f26683eb
1 file changed
+2
+2
View File
@@ -22,6 +22,7 @@
</tr>
{% for profile in profiles %}
{% if profile.enabled %}
{% if profile.games or profile.tests %}
<tr>
<td><a href="/user/{{profile.user.username}}">{{profile.user.username|capfirst}}</a></td>
@@ -31,6 +32,7 @@
<td><a href="{{profile.repo}}">{{profile.repo}}</a></td>
</tr>
{% endif %}
{% endif %}
{% endfor %}
</table>