show groups
This commit is contained in:
@@ -6,14 +6,12 @@
|
||||
|
||||
{% block content %}
|
||||
{% for group in groups %}
|
||||
{% if group.users %}
|
||||
<h2>{{group}}</h2>
|
||||
<ul class='profile-list'>
|
||||
{% for user in group.users %}
|
||||
<li><a href="{% url local.views.profile username=user.username %}">{% avatar user %}<p>{{user}}</p></a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif%}
|
||||
<h2>{{group}}</h2>
|
||||
<ul class='profile-list'>
|
||||
{% for user in group.users %}
|
||||
<li><a href="{% url local.views.profile username=user.username %}">{% avatar user %}<p>{{user}}</p></a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
<h2>All Players</h2>
|
||||
<ul class='profile-list'>
|
||||
|
Reference in New Issue
Block a user