{# Normal Entries #}
{% if entry.type != 'booking' %}
{{ entry_config['label'] }}
{% if can_edit %}
{% if is_manager or current_user == entry.creation_user %}
{% endif %}
{% else %}
{% endif %}
{% if 'report' in entry_config %}
{% endif %}
Title: {{ entry.title }}
Last update: {{ entry.last_update_user.name }}, {{ entry.last_update_date|pretty_datetime }}
Created: {{ entry.creation_user.name }}, {{ entry.creation_date|pretty_datetime }}
{{ entry.date|pretty_date }}
{# Booking Entry #}
{% else %}
{{ entry_config['label'] }}
{#
#}
{% set booking = entry %}
{% set r = booking.resource %}
Instrument: {{r.name}}
{% if booking.title %}
Title: {{ booking.title }}
{% endif %}
Owner: {{ booking.owner.name }}
{% if booking.operator %}
Operator: {{ booking.operator.name }}
{% endif %}
{{ booking.start|pretty_date }}
{% endif %}