Go back

{{ tool }}

{# Display tool status... #} {% if tool.in_use %}
{% with tool.get_current_usage_event as current_usage_event %}

{% if current_usage_event.operator.id == customer.id %} You are using this tool {% else %} {{ current_usage_event.operator }} is using this tool {% endif %} {% if current_usage_event.operator.id != current_usage_event.user.id %} on behalf of {{ current_usage_event.user }} {% endif %} for the project named {{ current_usage_event.project.name }} since {{ current_usage_event.start }}.

{% endwith %}
{% elif tool.delayed_logoff_in_progress %} {% with tool.get_delayed_logoff_usage_event as delayed_logoff_event %}

{{ delayed_logoff_event.operator }} has finished using the {{ tool }} but delayed logoff is in effect. The tool will be available at {{ delayed_logoff_event.end|time }}.

{% endwith %} {% elif not tool.operational or tool.required_resource_is_unavailable %}

This tool is shut down.

{% elif tool.nonrequired_resource_is_unavailable %}

This tool is operational but not all resources are available.

{% else %}

This tool is operational and idle.

{% endif %} {# Display any unavailable required resources... #} {% for r in tool.unavailable_required_resources %}

A required resource is unavailable: {{ r.name }} ({{ r.category }})

{{ r.restriction_message }}
{% endfor %} {# Display any unavailable non-required resources... #} {% for r in tool.unavailable_nonrequired_resources %}

An optional resource is unavailable: {{ r.name }} ({{ r.category }})

{{ r.restriction_message }}
{% endfor %} {# Display all problems and shutdowns... #} {% for t in tool.problems %}
{% if t.force_shutdown %} {% else %} {% endif %}
{% if t.problem_category %}

{{ t.problem_category }}

{% endif %} {{ t.problem_description }} {% if t.estimated_resolution_time %}
Estimated resolution time is {{ t.estimated_resolution_time }}.{% endif %}
This task was created by {{ t.creator }} on {{ t.creation_time }}. {% if t.force_shutdown %} The tool will remain shut down until this task is resolved. {% endif %} {% if t.progress_description %}

Progress updates

{{ t.progress_description|linebreaksbr }}
{% endif %}
{% endfor %} {# Display all comments... #} {% for c in tool.comments %}
{{ c.content }}
{{ c.author }} wrote this comment on {{ c.creation_date }}
{% endfor %} {% if rendered_configuration_html %}

Configuration

{{ rendered_configuration_html }}
{% endif %} {# Display tool control... #}
{% csrf_token %} {% if tool.in_use %} {% if tool.get_current_usage_event.operator.id == customer.id or tool.get_current_usage_event.user.id == customer.id %} {% if post_usage_questions %}

Post usage questions

{{ post_usage_questions }} {% endif %} {% if tool.allow_delayed_logoff and not tool.delayed_logoff_in_progress %}

Delayed logoff

Prevent others from using the tool for minutes after disabling the tool. What's this?
{% endif %}

Please answer the required questions (above) to stop using the {{ tool.name }}

Stop using the {{ tool.name }} {% if remaining_reservation_duration %} and relinquish the remaining {{ remaining_reservation_duration }} minutes of your reservation {% endif %}
{% endif %} {% else %} {% if customer.is_staff or tool.operational and not tool.required_resource_is_unavailable and not tool.delayed_logoff_in_progress and tool in customer.qualifications.all %} {% with customer.active_projects as active_projects %} {% if active_projects|length == 0 %}

You cannot use any tools because you are not a member of an active project. Please visit the NanoFab User Office to begin a project.

{% elif active_projects|length == 1 %}

Tool usage will be billed to the project named "{{ active_projects.0 }}".

{% else %}

Charge tool usage to which project?

{% for project in active_projects %} {{ project.name }} {% endfor %}
{% endif %} {% endwith %} {% elif tool not in customer.qualifications.all %}

You have not been qualified to use this tool yet.
Please contact the primary tool owner, {{ tool.primary_owner }}, if you would like to receive training for tool qualification.
{% if tool.backup_owners.all.exists %} {% if tool.backup_owners.all.count == 1 %} If you are unable to reach {{ tool.primary_owner }} then please contact the backup tool owner, {{ tool.backup_owners.all|first }}. {% elif tool.backup_owners.all.count > 1 %} If you are unable to reach {{ tool.primary_owner }} then please contact one of the backup tool owners: {% endif %} {% endif %}

{% endif %} {% endif %}
{# Spacer #}