{# doto.html - Template for single doto task card #} {# Context variables: - task_id: Task identifier string - title: Task title - priority: Priority level (low, medium, high, critical) - status: Task status (open, in-progress, blocked, done) - assignee: Assigned person (optional) - assignee_href: Resolved xlink URL for the assignee (optional; empty when there is no resolved link) - due: Due date string (optional) - tags: List of tag strings (optional) - raci_html: Pre-rendered RACI HTML subsection (optional; empty when the task has no RACI data). Rendered via doxtr_doto.raci.render_raci_html, which is overridable by child themes. - progress: Progress percentage 0-100 (optional) - estimate: Expected duration, pre-formatted compact string e.g. "1h30m" (optional; empty when the task has no estimate) - is_overdue: Boolean indicating if task is past due - classes: Pre-computed CSS classes string #}
{{ task_id }} {{ title }} {{ priority }} {%- if status %} {{ status }} {%- endif %}
{%- if assignee %} {%- if assignee_href %}{{ assignee }}{% else %}{{ assignee }}{% endif -%} {%- endif %} {%- if raci_html %} {{ raci_html | safe }} {%- endif %} {%- if due %} {{ due }} {%- endif %} {%- if tags %} {%- for tag in tags %} {{ tag }} {%- endfor %} {%- endif %} {%- if estimate %} {{ estimate }} {%- endif %} {%- if progress is not none %}
{%- endif %}