{% extends 'base.html' %} {% block extrahead %} {% load static %} {% load custom_tags_and_filters %} {% endblock %} {% block title %}Resource outages{% endblock %} {% block content %}

Scheduled resource outages

You can schedule a resource outage to occur for a specific time window. This prevents users from using affected tools and areas, but will not kick users off if they're already logged in to an area or using a tool. It is the staff's responsibility to ensure that all tools and areas that use the resource are properly shutdown.

When a resource is unavailable:

{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}

{% if editing %}Edit this outage{% else %}Create a new outage{% endif %}

{% csrf_token %} {% if form.instance.id %}{% endif %}
{% if form.resource.errors %} - {{ form.resource.errors|striptags }}{% endif %}
{% if outage_categories %}
- is there a category for this outage? This is useful for data and trend analysis
{% endif %}
{% if form.details.errors %} - {{ form.details.errors|striptags }}{% endif %}
{% if form.start.errors %} - {{ form.start.errors|striptags }}{% endif %}
{% if form.end.errors %} - {{ form.end.errors|striptags }}{% endif %}
{% if editing %}
Abandon changes
{% endif %}
{% for o in outages %}
{% csrf_token %}
{{ o.title }}
{% if o.category %}Outage category: {{ o.category }}
{% endif %} Starts on {{ o.start }}
Ends on {{ o.end }}
{{ o.details }}
{% endfor %}
{% endblock %}