{% extends popup_view|yesno:"base/popup.html,base.html" %} {% load custom_tags_and_filters %} {% if not popup_view %} {% block extrahead %} {% endblock %} {% endif %} {% block title %}Scheduled outage details{% endblock %} {% block content %} {% if not popup_view %}

Scheduled outage details

{% endif %} {% if user.is_staff %}
{{ outage.title }}

{% else %} Title: {{ outage.title }}
{% endif %} Created by: {{ outage.creator }}
{% if outage.tool %}Tool: {{ outage.tool }}
{% endif %} {% if outage.resource %}Resource: {{ outage.resource }} ({{ outage.resource.category }})
{% endif %} {% if outage.category %}Outage category: {{ outage.category }}
{% endif %} Start: {{ outage.start }}
End: {{ outage.end }}
Identifier: {{ outage.id }}
{% if outage.details or user.is_staff %} {% if user.is_staff %}
{{ outage.details|linebreaksbr }}

{% else %} Details:
{{ outage.details|linebreaksbr }}
{% endif %} {% endif %} {# Allow the user to cancel the outage if they have that privilege. only in popup view #} {% if user.is_staff %} {% endif %} {% endblock %}