{% extends "base.html" %} {% load i18n static bleach_tags thumbnail %} {% block title %}{{ event.title }} — {% trans "Calendar"|capfirst %} — {{ block.super }}{% endblock %} {% block opengraph_title %}{{ event.title }} — {% trans "Calendar"|capfirst %} — {{ block.super }}{% endblock %} {% block opengraph %} {% endblock %} {% block body %}

{{ event.title }}

{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}

{{ event.description|bleach }}

{% if event.price > 0 %} {% endif %} {% if event.registration_required %} {% if registration %} {% endif %} {% if registration.is_invited %} {% if event.start < date_now %} {% endif %} {% if event.price > 0 %} {% endif %} {% endif %} {% endif %} {% if event.pizzaevent %} {% endif %}
{% trans "from"|capfirst %} {{ event.start }}
{% trans "until"|capfirst %} {{ event.end }}
{% trans "location"|capfirst %} {{ event.location }}
{% trans "price"|capfirst %} €{{ event.price }}
{% trans "registration deadline"|capfirst %} {{ event.registration_end }}
{% trans "cancellation deadline"|capfirst %} {{ event.cancel_deadline }}
{% trans "number of registrations"|capfirst %} {% blocktrans count counter=event.participants|length trimmed %} {{ counter }} registration {% plural %} {{ counter }} registrations {% endblocktrans %} {% if event.max_participants > 0 %} ({{ event.max_participants }} {% trans "max" %}) {% with prc=registration_percentage %}
{% endwith %} {% endif %}
{% trans "registration status"|capfirst %} {% if registration.is_registered and registration.queue_position == 0 %} {% trans "You are registered" %} {% elif registration.is_registered and registration.queue_position > 0 %} {% blocktrans with pos=registration.queue_position trimmed %} Waiting list position {{ pos }} {% endblocktrans %} {% elif not registration.is_registered and registration.is_late_cancellation %} {% trans "Your registration is cancelled after the cancellation deadline" %} {% else %} {% trans "Your registration is cancelled" %} {% endif %}
{% trans "presence"|capfirst %} {% if registration.present %} {% trans "You were present" %} {% else %} {% trans "You were not present" %} {% endif %}
{% trans "payment status"|capfirst %} {% if registration.is_paid %} {% trans "You have paid" %} {% else %} {% trans "You have not paid yet" %} {% endif %}
{% if permissions.update_registration %}
{% endif %} {% if permissions.create_registration %}

{% url 'event-registration-terms' as terms_url %} {% blocktrans trimmed %} By registering, you confirm that you have read the terms and conditions, that you understand them and that you agree to be bound by them. {% endblocktrans %}

{% csrf_token %} {% if event.reached_participants_limit %} {% else %} {% endif %}
{% elif permissions.cancel_registration %} {# Special message to accept costs when cancelling after the deadline, unless member is on the waiting list #}
{% csrf_token %} {% if registration.would_cancel_after_deadline %} {% else %} {% endif %}
{% elif request.user.is_authenticated is False %} {% trans "Login" %} {% endif %}
{% if not request.user.is_authenticated %} {% trans "You have to log in before you can register for this event." %} {% else %} {% if not event.registration_required %} {% if event.no_registration_message %} {{ event.no_registration_message }} {% else %} {% trans "No registration required" %} {% endif %} {% elif not event.registration_started %} {% blocktrans with datetime=event.registration_start %}Registration will open {{ datetime }}{% endblocktrans %} {% elif not event.registration_allowed %} {% blocktrans %}Registration is not possible anymore.{% endblocktrans %} {% endif %} {% if event.after_cancel_deadline and permissions.cancel_registration %} {% blocktrans with costs=event.fine %}Cancellation isn't possible anymore without having to pay the full costs of €{{ costs }}. Also note that you will be unable to re-register.{% endblocktrans %} {% endif %} {% endif %}
Pizza {% trans "Order" context "pizzas" %}
{% if user.is_authenticated and event.participants|length > 0 %}

{% trans "Registrations" %}

{% endif %} {% endblock body %}