{% 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.description|bleach }}
{% if messages %} {% for message in messages %} {% endfor %} {% 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=registrations|length trimmed %}
{{ counter }} registration
{% plural %}
{{ counter }} registrations
{% endblocktrans %}
{% if event.max_participants > 0 %}
({{ event.max_participants }} {% trans "max" %})
{% with prc=registration_percentage %}
|
{% 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 %} |
{% if request.user.is_authenticated and request.user.member is not None and request.user.member.current_membership is not None and request.user.member.can_attend_events %}
{% if event.status == event.REGISTRATION_OPEN or event.status == event.REGISTRATION_OPEN_NO_CANCEL %}
{% if registration is not None and registration.date_cancelled is None and event.has_fields %}
{% trans "Update registration" %}
{% endif %} {% endif %} {% if event.status == event.REGISTRATION_OPEN or event.status == event.REGISTRATION_CLOSED_CANCEL_ONLY or event.status == event.REGISTRATION_OPEN_NO_CANCEL %} {% if registration is None or registration.date_cancelled is not None %} {% if event.status == event.REGISTRATION_OPEN or event.status == event.REGISTRATION_OPEN_NO_CANCEL %} {% if event.reached_participants_limit %} {% trans "Put me on the waiting list" %} {% else %} {% trans "Register" %} {% endif %} {% endif %} {% elif registration is not None and registration.date_cancelled is None %} {# Special message to accept costs when cancelling after the deadline, unless member is on the waiting list #} {% if registration.queue_position == 0 and event.after_cancel_deadline %} {% trans "Cancel registration" %} {% else %} {% trans "Cancel registration" %} {% endif %} {% endif %} {% 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." %} {% elif event.status == event.REGISTRATION_NOT_YET_OPEN %} {% blocktrans with datetime=event.registration_start %}Registration will open {{ datetime }}{% endblocktrans %} {% elif event.status == event.REGISTRATION_CLOSED or event.status == event.REGISTRATION_CLOSED_CANCEL_ONLY %} {% blocktrans %}Registration is not possible anymore.{% endblocktrans %} {% elif status == event.REGISTRATION_NOT_NEEDED %} {% if event.no_registration_message %} {{ event.no_registration_message }} {% else %} {% trans "No registration required" %} {% endif %} {% endif %} {% if event.status == event.REGISTRATION_OPEN_NO_CANCEL or event.status == event.REGISTRATION_CLOSED %} {% if registration.date_cancelled is None and event.fine > 0 %} {% 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" %} |