5aff771d9c
- `cof` is renamed `gestioCOF` - `gestioncof` become `cof` (yes it looks pretty stupid but it is not) - `bds` is created
41 lines
922 B
HTML
41 lines
922 B
HTML
{% extends "base_title.html" %}
|
|
|
|
|
|
{% block realcontent %}
|
|
<h2>{{ club }}</h2>
|
|
|
|
|
|
{% 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 %}
|
|
|
|
|
|
{% if club.membres.exists %}
|
|
<h3>Liste des membres</h3>
|
|
<table class="table table-striped">
|
|
{% 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>
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
Ce club ne comporte actuellement aucun membre.
|
|
{% endif %}
|
|
|
|
{% endblock %}
|