{% load namewithnotes from filters %} {% load markdown_tags %}
{{ event.display_id }} - {{ event.name }}
{% if event.dry_hire %} Dry Hire {% endif %}
{{ event.get_status_display }}
Meet at: {% if event.meet_at %}

{{ event.meet_at|date:"j M Y, H:i" }}

{% else %}

Not specified

{% endif %}
Access from: {% if event.access_at %}

{{ event.access_at|date:"j M Y, H:i" }}

{% else %}

Not specified

{% endif %}
Start:

{% if event.start_date and event.start_time %} {{ event.start_date|date:"j M Y" }}, {{ event.start_time|date:"H:i" }} {% elif event.start_date %} {{ event.start_date|date:"j M Y" }} {% elif event.start_time %} {{ event.start_time|date:"H:i" }} {% else %} Not specified {% endif %}

End:

{% if event.end_date and event.end_time %} {{ event.end_date|date:"j M Y" }}, {{ event.end_time|date:"H:i" }} {% elif event.end_date %} {{ event.end_date|date:"j M Y" }} {% elif event.end_time %} {{ event.end_time|date:"H:i" }} {% else %} Not specified {% endif %}

{% if event.venue %}
Venue:

{{ event.venue|namewithnotes:'venue_detail' }}

{% endif %} {% if event.is_rig %}
Client:

{% if event.person %} {{ event.person.name }} {% if event.organisation %} for {{ event.organisation }} {% endif %} {% elif event.organisation %} {{ event.organisation }} {% else %} No client specified {% endif %}

{% endif %} {% if event.mic or event.needs_mic %}
Member in Charge (MIC):
{% if event.mic %} {{ event.mic.name }} {% if perms.RIGS.view_profile %} {% endif %} {{ event.mic.name }} {% if perms.RIGS.view_profile %} {% endif %} {% else %} No MIC assigned {% endif %}
{% endif %}
Description:

{{ event.description|markdown }}

Status:
{% include "partials/event_status.html" with status=event.status %}