2016-08-23 18:57:59 +02:00
|
|
|
{% extends "base_title.html" %}
|
|
|
|
|
2016-08-23 21:09:47 +02:00
|
|
|
|
2016-08-23 18:57:59 +02:00
|
|
|
{% block realcontent %}
|
|
|
|
<h2>{{ club }}</h2>
|
|
|
|
|
2016-08-23 21:09:47 +02:00
|
|
|
|
|
|
|
{% if club.respos.exists %}
|
|
|
|
<h3>Respo{{ club.respos.all|pluralize }}</h3>
|
|
|
|
<table class="table table-striped">
|
|
|
|
{% for member in club.respos.all %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ member }}</td>
|
|
|
|
<td>{{ member.email }}</td>
|
|
|
|
<td><a class="glyphicon glyphicon-arrow-down"
|
|
|
|
href="{% url "change-respo" club.name member.id %}"></a></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<h3>Pas de respo</h3>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2016-08-23 18:57:59 +02:00
|
|
|
{% if club.membres.exists %}
|
|
|
|
<h3>Liste des membres</h3>
|
|
|
|
<table class="table table-striped">
|
2016-08-23 21:09:47 +02:00
|
|
|
{% for member in members_no_respo %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ member }}</td>
|
|
|
|
<td>{{ member.email }}</td>
|
|
|
|
<td><a class="glyphicon glyphicon-arrow-up"
|
|
|
|
href="{% url "change-respo" club.name member.id %}"></a></td>
|
|
|
|
</tr>
|
2016-08-23 18:57:59 +02:00
|
|
|
{% endfor %}
|
2016-08-23 21:09:47 +02:00
|
|
|
</table>
|
2016-08-23 18:57:59 +02:00
|
|
|
{% else %}
|
2016-08-23 21:09:47 +02:00
|
|
|
Ce club ne comporte actuellement aucun membre.
|
2016-08-23 18:57:59 +02:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|