{# Single dispatch card. Expects `draft` (Draft) in context. #}
{{ draft.bug_id }} {% if draft.bug_component %} · {{ draft.bug_component }} {% endif %} {# Card-head S/P pills reflect the bug's CURRENT Bugzilla state at draft time, not what the draft will write — the "Will apply" footer already shows the proposed values. Each pill is color-coded by level via .badge-level--; unrecognised or missing values render as a warning-treated S? / P? placeholder. #} {% set _ctx = draft.bug_context %} {% set _sev = (_ctx.current_severity if _ctx else '') %} {% set _pri = (_ctx.current_priority if _ctx else '') %} {% set _sev_class = _sev | level_class %} {% set _pri_class = _pri | level_class %} · {{ _sev if _sev_class != 'unknown' else 'S?' }} {{ _pri if _pri_class != 'unknown' else 'P?' }} {# Always in the DOM; shown only when the card carries .card--queued, so the apply toggle can sync it by flipping that one class (see base.html). #} ✓ Applied

{{ draft.title }}

{% if draft.bug_context %} {% set ctx = draft.bug_context %} {% include "_bug_report.html" %} {% endif %} {% if investigation %} {% include "_investigation_findings.html" %} {% endif %}
{{ draft.comment | render_markdown }}
{% if pending_feedback %}

Pending feedback ({{ pending_feedback|length }})

{% endif %}
{% include "_apply_wrap.html" %}
{% include "_apply_button.html" %}