{% load humanize %}

{{ task.tool.name }} task

Primary tool owner: {{ task.tool.primary_owner }}
{% if task.tool.backup_owners.all.exists %}Backup tool owner{{ task.tool.backup_owners.all.count|pluralize }}: {% for x in task.tool.backup_owners.all %}{{ x }}{% if not forloop.last %}, {% else %}{% endif %}{% endfor %}{% endif %}

{% if task.tool.in_use %} {% if task.tool.get_current_usage_event.operator.id == user.id %} {% else %} {% endif %} {% else %} {% if user.active_project_count == 1 %} {% elif user.active_project_count > 1 %}
{% endif %} {% endif %} Calendar Tool control
Created by {{ task.creator }} on {{ task.creation_time }} ({{ task.creation_time|naturaltime }}).

{% if task.last_updated and task.last_updated_by %} Last updated by {{ task.last_updated_by }} on {{ task.last_updated }} ({{ task.last_updated|naturaltime }}). {% endif %}

{% csrf_token %}
{% if initial_assessment_categories %}
{% endif %} {% if task_statuses %}
{% endif %}
{% if task.task_images %}
images:
{% endif %}

Problem description

{{ task.problem_description|linebreaksbr }}

{% if task.progress_description %}

Progress

{{ task.progress_description|linebreaksbr }}

{% endif %} {% if rendered_configuration_html %}

Configuration

{{ rendered_configuration_html }}

{% endif %}