{% extends 'base.html' %} {% block title %}Modify resource{% endblock %} {% block content %} {% if error %}
{{ error }}
{% endif %}

Modify a resource

{% csrf_token %} {% if resource.available %}

{{ resource.name }} is currently available. Enter a status message to mark the resource as unavailable.

When a resource is unavailable:
{% if fully_dependent_tools_in_use %}

Warning: the following tools fully depend on this resource and are in use. You must disable the tools individually to block current use. It is recommended that you disable these tools before making the resource unavailable.

{% endif %} {% else %}

{{ resource.name }} is currently unavailable. What would you like to do?

{% endif %} Nevermind
{% if resource.visible_fully_dependent_tools %}

Tools that fully depend on {{ resource }}

{% else %}

No tools fully depend on {{ resource }}

{% endif %} {% if resource.visible_partially_dependent_tools %}

Tools that partially depend on {{ resource }}

{% else %}

No tools partially depend on {{ resource }}

{% endif %} {% if resource.dependent_areas.all %}

Areas that depend on {{ resource }}

{% else %}

No areas depend on {{ resource }}

{% endif %} {% endblock %}