society_index.html 1.6 KB
Newer Older
1
{% extends "base.html" %}
2
{% load i18n thumbnail static activemembers_cards alert %}
3 4
{% block title %}{% trans 'societies'|capfirst %} — {{ block.super }}{% endblock %}
{% block opengraph_title %}{% trans 'societies'|capfirst %} — {{ block.super }}{% endblock %}
5
{% get_current_language as LANGUAGE_CODE %}
6 7

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

14 15 16 17 18 19 20 21 22 23
            <p class="text-center">
                {% url 'documents:index' as documents_page %}
                {% blocktrans trimmed %}
                    Interested in forming a society? Read the Society policy and application form document,
                    which can be found on <a href="{{ documents_page }}">the documents page</a>, carefully.
                    The application form can be found at the bottom of the document.
                    To request a society you must submit the filled in form to the board.
                {% endblocktrans %}
            </p>

24 25 26
            <div class="row mt-4">
                {% for society in societies %}
                    <div class="col-4 col-md-3 my-3">
27
                        {% membergroup_card society LANGUAGE_CODE %}
28 29
                    </div>
                {% empty %}
30 31
                    {% trans 'There are no societies!' as no_societies %}
                    {% alert 'danger' no_societies extra_classes='col-10 offset-1' %}
32
                {% endfor %}
33
            </div>
34 35
        </div>
    </section>
36
{% endblock %}