committee_index.html 983 Bytes
Newer Older
Thom Wiggers's avatar
Thom Wiggers committed
1
{% extends "base.html" %}
2
{% load i18n thumbnail static activemembers_cards %}
Thom Wiggers's avatar
Thom Wiggers committed
3
{% block title %}{% trans 'Committees' %} — {{ block.super }}{% endblock %}
4
{% block opengraph_title %}{% trans 'Committees' %} — {{ block.super }}{% endblock %}
Thom Wiggers's avatar
Thom Wiggers committed
5
6

{% block body %}
7
8
9
10
11
    <section id="activemembers-committees" class="page-section">
        <div class="container">
            <h1 class="text-center section-title">
                {% trans 'committees'|capfirst %}
            </h1>
Thom Wiggers's avatar
Thom Wiggers committed
12

13
14
15
16
17
18
19
20
21
22
            <div class="row mt-4">
                {% for committee in committees %}
                    <div class="col-4 col-md-3 my-3">
                        {% membergroup_card committee %}
                    </div>
                {% empty %}
                    <div class="alert alert-danger col-10 offset-1">
                        {% trans 'There are no committees!' %}
                    </div>
                {% endfor %}
Thom Wiggers's avatar
Thom Wiggers committed
23
            </div>
24
25
        </div>
    </section>
Thom Wiggers's avatar
Thom Wiggers committed
26
{% endblock %}