2016-09-04 17:24:53 +00:00
|
|
|
{% extends "core/base.jinja" %}
|
2016-09-02 19:21:57 +00:00
|
|
|
{% from 'core/macros.jinja' import user_profile_link %}
|
|
|
|
|
2016-09-04 17:24:53 +00:00
|
|
|
{% block content %}
|
2016-09-02 19:21:57 +00:00
|
|
|
<h2>{% trans %}Club old members{% endtrans %}</h2>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<td>{% trans %}User{% endtrans %}</td>
|
|
|
|
<td>{% trans %}Role{% endtrans %}</td>
|
|
|
|
<td>{% trans %}Description{% endtrans %}</td>
|
|
|
|
<td>{% trans %}From{% endtrans %}</td>
|
|
|
|
<td>{% trans %}To{% endtrans %}</td>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-09-08 01:29:49 +00:00
|
|
|
{% for m in club.members.exclude(end_date=None).order_by('-role', 'description', '-end_date').all() %}
|
2016-09-02 19:21:57 +00:00
|
|
|
<tr>
|
|
|
|
<td>{{ user_profile_link(m.user) }}</td>
|
|
|
|
<td>{{ settings.SITH_CLUB_ROLES[m.role] }}</td>
|
|
|
|
<td>{{ m.description }}</td>
|
|
|
|
<td>{{ m.start_date }}</td>
|
|
|
|
<td>{{ m.end_date }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|