|
|
@ -43,12 +43,16 @@ |
|
|
<tr> |
|
|
<tr> |
|
|
<th>Nom</th> |
|
|
<th>Nom</th> |
|
|
<th>Nombre de membres</th> |
|
|
<th>Nombre de membres</th> |
|
|
|
|
|
<th>Nombre de contenus</th> |
|
|
|
|
|
<th>Nombre de catégories</th> |
|
|
<th>Numéro de téléphone</th> |
|
|
<th>Numéro de téléphone</th> |
|
|
<th></th> |
|
|
<th></th> |
|
|
{% for school in schools %} |
|
|
{% for school in schools %} |
|
|
<tr> |
|
|
<tr> |
|
|
<th>{{school.group.name}}</th> |
|
|
<th>{{school.group.name}}</th> |
|
|
<td>{{school.group.user_set.count}}</td> |
|
|
<td>{{school.group.user_set.count}}</td> |
|
|
|
|
|
<td>{{school.content_set.count}}</td> |
|
|
|
|
|
<td>{{school.number_of_categories}}</td> |
|
|
<td>{{school.phone}}</td> |
|
|
<td>{{school.phone}}</td> |
|
|
<td><a class="btn btn-outline-primary btn-sm" href="{% url "users:edit-school-name" pk=school.group.pk%}"> |
|
|
<td><a class="btn btn-outline-primary btn-sm" href="{% url "users:edit-school-name" pk=school.group.pk%}"> |
|
|
<i class="fas fa-edit"></i> |
|
|
<i class="fas fa-edit"></i> |
|
|
|