{% if personal_schedule %}{{ reservation.title|default:reservation.tool }}{% else %}{{ reservation.title|default:reservation.user }}{% endif %}
Starting {{ reservation.start|time }}
Ending {{ reservation.end|time }}
{# Vertical spacer #}
{% if reservation.project %} For project {{ reservation.project }}
{% endif %} Created by {{ reservation.creator }} {% if reservation.user != reservation.creator %} on behalf of {{ reservation.user }}{% endif %} on {{ reservation.creation_time }}
{% if reservation.self_configuration %} You have elected to configure this tool yourself.
{% else %} {% if reservation.short_notice %} This reservation was created on short notice. Tool configuration is not guaranteed upon start time.
{% endif %} {% endif %} {% if reservation.additional_information %} Additional information:
{{ reservation.additional_information|linebreaksbr }} {% endif %} {# Allow the user to cancel the reservation if they have that priviledge. #} {% if not reservation.missed and not reservation.cancelled %} {% if reservation.user.id == user.id and reservation.has_not_ended or user.is_staff %}
{# Vertical spacer #}
{% csrf_token %} {% if user != reservation.user %} {# Staff must provide a reason for cancelling someone else's reservation. #}
{% endif %}
{% endif %} {% endif %}