{% load i18n static menu compress pick_header_image %} {% get_current_language as LANGUAGE_CODE %} {% block title %} {% trans "Study Association Thalia" %}{% endblock %} {% if debug %} {% else %} {% endif %} {% block opengraph %}{% endblock %} {% block css_head %} {% compress css %} {% endcompress %} {% endblock %} {% block js_head %} {% endblock %}
{% if request.member and request.member.current_membership is None %}

{% trans "You're currently not a member of Thalia. Renew your membership to get access to all parts of the website." %}

{% elif request.member.profile.event_permissions != "all" %}

{% blocktrans trimmed %} You're currently not allowed to go to certain events. Please contact Thalia's treasurer for more information. {% endblocktrans %}

{% endif %} {% include "announcements/announcement.html" with announcements=announcements %}
{% block pre-body %}{% endblock pre-body %}
{% block body %}{% endblock body %}
{% block post-body %}{% endblock post-body %}
{% csrf_token %}
{% block js_body %} {% compress js %} {% endcompress %} {% endblock %}