diff --git a/core/templates/core/user_clubs.jinja b/core/templates/core/user_clubs.jinja index 5e16fb93..2a6f75a5 100644 --- a/core/templates/core/user_clubs.jinja +++ b/core/templates/core/user_clubs.jinja @@ -6,19 +6,57 @@ {% block content %}

{% trans%}Club(s){% endtrans %}

- +

{% trans%}Current club(s){% endtrans %}

- +
+ + + + + + + + + + + {% for m in profile.memberships.filter(end_date=None).all() %} + + + + + + {% if m.can_be_edited_by(user) %} + + {% endif %} + + {% endfor %} + +
{% trans %}User{% endtrans %}{% trans %}Role{% endtrans %}{% trans %}Description{% endtrans %}{% trans %}Since{% endtrans %}
{{ m.club }}{{ settings.SITH_CLUB_ROLES[m.role] }}{{ m.description }}{{ m.start_date }}{% trans %}Mark as old{% endtrans %}

{% trans%}Old club(s){% endtrans %}

- +
+ + + + + + + + + + + + + {% for m in profile.memberships.exclude(end_date=None).all() %} + + + + + + + + {% endfor %} + +
{% trans %}User{% endtrans %}{% trans %}Role{% endtrans %}{% trans %}Description{% endtrans %}{% trans %}From{% endtrans %}{% trans %}To{% endtrans %}
{{ m.club }}{{ settings.SITH_CLUB_ROLES[m.role] }}{{ m.description }}{{ m.start_date }}{{ m.end_date }}
{% endblock %}