{# SPDX-FileCopyrightText: 2025 JWP Consulting GK #} {# SPDX-License-Identifier: AGPL-3.0-or-later #} {% extends "dashboard_base.html" %} {% load projectify %} {% load rules %} {% load i18n %} {% block dashboard_content %} {% has_perm "workspace.update_task" user task.workspace as can_update_task %}
{% include "workspace/task/breadcrumbs.html" with section=task.section task=task %}
{% if can_update_task %} {% go_to_action "dashboard:tasks:update" label=_("Edit") title=_("Edit this task") task_uuid=task.uuid %} {% endif %} {% circle_anchor label=_("Task menu") title=_("Open task context menu") icon_style="dots-vertical" href="dashboard:tasks:actions" task_uuid=task.uuid %}
{% 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 %}
{% endblock dashboard_content %}