{% partial task_panel %}
{# SPDX-FileCopyrightText: 2025 JWP Consulting GK #} {# SPDX-License-Identifier: AGPL-3.0-or-later #} {% extends "dashboard_base.html" %} {% load projectify %} {% load rules %} {% load i18n %} {% partialdef breadcrumbs %}
| {% trans "Task title" %} | {{ task.title }} {% if can_update_task %} {% circle_anchor label=_("Edit task title") icon_style="pencil" href="dashboard:tasks:update-focus-field" title=_("Edit task title") size=4 task_uuid=task.uuid focus_field="title" %} {% endif %} |
|---|---|
| {% trans "Assignee" %} | {% user_avatar task.assignee %} {{ task.assignee|default:"No team member assigned" }} {% if can_update_task %} {% circle_anchor label=_("Edit assignee") icon_style="pencil" href="dashboard:tasks:update-focus-field" title=_("Edit assignee") size=4 task_uuid=task.uuid focus_field="assignee" %} {% endif %} |
| {% trans "Labels" %} |
{% for label in task.labels.all %}
{{ label.name }}
{% endfor %}
{% if can_update_task %}
{% circle_anchor label=_("Edit labels") icon_style="pencil" href="dashboard:tasks:update-focus-field" title=_("Edit labels") size=4 task_uuid=task.uuid focus_field="labels" %}
{% endif %}
|
| {% trans "Due date" %} |
{% if task.due_date %}
{{ task.due_date.date.isoformat }}
{% else %}
{% trans "No due date" %} {% endif %} {% if can_update_task %} {% circle_anchor label=_("Edit due date") icon_style="pencil" href="dashboard:tasks:update-focus-field" title=_("Edit due date") size=4 task_uuid=task.uuid focus_field="due_date" %} {% endif %} |
| {% trans "Description" %} |
{% if task.description %}
{{ task.description }}
{% else %}
{% trans "No description" %} {% endif %} {% if can_update_task %} {% circle_anchor label=_("Edit description") icon_style="pencil" href="dashboard:tasks:update-focus-field" title=_("Edit description") size=4 task_uuid=task.uuid focus_field="description" %} {% endif %} |