{% load humanize %}

{{ task.tool.name }} task

Created by {{ task.creator }} on {{ task.creation_time }} ({{ task.creation_time|naturaltime }}).
Urgency: {{ task.get_urgency_display|lower }}
{% if task.force_shutdown %} This task forced the tool to remain shut down.
{% endif %} {% if task.safety_hazard %} This task was considered a safety hazard to the NanoFab.
{% endif %} {% if task.problem_category %} Problem category: {{ task.problem_category|lower }}
{% endif %}

Problem description

{{ task.problem_description|linebreaksbr }}

{% if task.task_images %}

images:
{% endif %} {% if task.progress_description %}

Progress

{{ task.progress_description|linebreaksbr }}

{% endif %} {% if task.cancelled %}

Cancelled on {{ task.resolution_time }}

{% endif %} {% if task.resolved %}

Resolved by {{ task.resolver }} on {{ task.resolution_time }}

{% if task.resolution_category %} Resolution category: {{ task.resolution_category|lower }}
{% endif %} {% if task.resolution_description %} {{ task.resolution_description|linebreaksbr }} {% endif %} {% endif %}