|
|
|
@ -5,13 +5,14 @@ |
|
|
|
<h1>{{object.name}}</h1> |
|
|
|
{% if manager_right in perms %} |
|
|
|
Numéro de téléphone : |
|
|
|
{% if object.school.phone %}{{object.school.phone}}{%else%} |
|
|
|
Non indiqué{%endif%}<br/> |
|
|
|
{%endif%} |
|
|
|
{% if object.school.phone %}{{object.school.phone}} |
|
|
|
<a class="btn btn-primary btn-sm" href="{% url 'users:edit-school-name' object.pk %}"> |
|
|
|
<i class="fa fa-edit"></i> |
|
|
|
Éditer |
|
|
|
</a> |
|
|
|
{%else%} |
|
|
|
Non indiqué{%endif%}<br/> |
|
|
|
{%endif%} |
|
|
|
{% if manager_right in perms %} |
|
|
|
<h2>Membres</h2> |
|
|
|
<table class="table table-striped"> |
|
|
|
@ -46,10 +47,12 @@ Non indiqué{%endif%}<br/> |
|
|
|
</table> |
|
|
|
{% endif %} |
|
|
|
<h2>Contenus</h2> |
|
|
|
{% if manager_right in perms %} |
|
|
|
<a class="btn btn-success btn-sm" href="{% url 'content:content-new' %}"> |
|
|
|
<i class="fa fa-plus"></i> |
|
|
|
Ajouter un contenu |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
<br /> |
|
|
|
<br /> |
|
|
|
<div class="row"> |
|
|
|
|