{% extends "base.html" %} {% from "_sidebar.html" import toggle, rail, worst %} {% from "_completeness.html" import entity_header with context %} {% from "_refs.html" import plan_refs with context %} {% block title %}{{ m.id }} {{ m.title }} · tkt ui{% endblock %} {% macro member_row(t) %}
  • {{ type_icon(t.type) }} {{ t.id }} {{ t.status | replace('_', ' ') }} {{ t.title }} {% if t.estimate is not none %}{{ t.estimate }} pts{% endif %} {% if t.epic %}in {{ t.epic }} {{ t.epicTitle or '' }}{% endif %} {% if t.live %}⟳ {{ t.live.status | replace('_', ' ') }} in {{ t.live.branch or t.live.worktree }}{% endif %}
  • {% endmacro %} {% block main %} {% set p = m.progress %}

    milestone://{{ m.id }} {{ m.title }}

    {{ m.status }} {% if m.targetDate %}target {{ m.targetDate }}{% endif %} {% if m.owner %}owner {{ m.owner }}{% endif %} {% if m.capacity is not none %}capacity {{ m.capacity }} pts{% endif %} board tree
    {% if m.description %}

    {{ link(m.description) }}

    {% endif %}

    {{ p.done }}/{{ p.total }} done{% if p.canceled %} ({{ p.canceled }} canceled not counted){% endif %} {%- if m.points.total %} · {{ m.points.done }}/{{ m.points.total }} pts{% endif %} {%- if m.value.total %} · value {{ m.value.done }}/{{ m.value.total }}{% endif %}

    {% if m.points.unestimated %}

    Unestimated: {% for i in m.points.unestimated %}{{ i }}{{ ', ' if not loop.last }}{% endfor %}

    {% endif %} {{ entity_header(m.completeness) }}
    {% if m.goal %}

    Goal

    {{ md(m.goal) }}
    {% endif %} {{ plan_refs(refs, 'milestone', m.id) }}

    Open tickets {{ open | length }} of {{ m.members | length }}

    {% if open %}
      {% for t in open %}{{ member_row(t) }}{% endfor %}
    {% elif m.members %}

    Every member is done or canceled.

    {% else %}

    No members yet.

    {% endif %} {% if m.members | length > open | length %}
    All {{ m.members | length }} members
      {% for t in m.members %}{{ member_row(t) }}{% endfor %}
    {% endif %} {% if m.missing %}

    Missing: {{ m.missing | join(', ') }} (see tkt doctor)

    {% endif %}
    {% endblock %}