Hide disabled users
This commit is contained in:
1 parent
5f13454a57
commit
72f26683eb
1 file changed
+2
@@ -22,6 +22,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% for profile in profiles %}
|
{% for profile in profiles %}
|
||||||
|
{% if profile.enabled %}
|
||||||
{% if profile.games or profile.tests %}
|
{% if profile.games or profile.tests %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/user/{{profile.user.username}}">{{profile.user.username|capfirst}}</a></td>
|
<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>
|
<td><a href="{{profile.repo}}">{{profile.repo}}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in new issue
Block a user