{# Static card structure. When `task` is provided and truthy, title and meta are filled (server); otherwise empty for template clone / JS fill. .board-card-details is hidden on the small card and shown in the popout. #}
{% if task and task.id %}{{ task.id[-4:] }}{% endif %}{% if task %}{{ task.title or 'Untitled' }}{% endif %}
{% if task and task.description %}{{ task.description }}{% else %}{% endif %}
{% if task %}
{% if task.priority and task.priority != 'LOW' %}
{{ task.priority }}
{% else %}
LOW
{% endif %}
{% if task.points is not none %}{{ task.points }} pt{{ 's' if task.points != 1 else '' }}{% endif %}
{% if task.assignee %}
{{ task.assignee }}
{% else %}
None
{% endif %}
{{ task.comments_count | default(0) }} comment{{ 's' if (task.comments_count | default(0)) != 1 else '' }}
{% else %}
LOWNone0 comments
{% endif %}
Ref
{% if task and task.ref %}{{ task.ref }}{% else %}{% endif %}
Description
{% if task and task.description %}{{ task.description }}{% else %}{% endif %}
Due date
{% if task and task.due_date %}{{ task.due_date }}{% else %}None{% endif %}
Last modified
{% if task and task.updated_at %}{{ task.updated_at }}{% else %}None{% endif %}
Status
{% if task %}{{ task.status or 'TODO' }}{% else %}TODO{% endif %}
Priority
{% if task and task.priority %}{{ task.priority }}{% else %}LOW{% endif %}
Points
{% if task and task.points is not none %}{{ task.points }}{% else %}–{% endif %}
Assignee
{% if task and task.assignee %}{{ task.assignee }}{% else %}None{% endif %}
Tags
{% if task and task.tags %}{{ task.tags }}{% endif %}