{% extends "base.html" %} {% from "_sidebar.html" import toggle, rail, worst %} {% from "_completeness.html" import entity_header with context %} {% block title %}{{ d.id }} {{ d.title }} · tkt ui{% endblock %} {% block main %}

{{ d.id }} {{ d.title }}

{{ d.status }} {{ d.date }} {% if d.origin %}origin {{ link(d.origin) }}{% endif %} {% if d.provenance %}{{ d.provenance }}{% endif %} {% if d.until %}until {% if d.until is string %}{{ d.until }}{% else %}{% for t in d.until %}{{ link(t) }}{{ ', ' if not loop.last }}{% endfor %} done{% endif %}{% endif %}
{% if d.description %}

{{ link(d.description) }}

{% endif %} {{ entity_header(d.completeness) }}

Decision

{% if d.decision %}
{{ md(d.decision) }}
{% else %}

Empty.

{% endif %}

Rationale

{% if d.rationale %}
{{ md(d.rationale) }}
{% else %}

Empty.

{% endif %}

Cited by {{ ref_count }}

{{ refs_cmd }}

{% for kind, rs in refs %}

{{ kind }}s {{ rs | length }}

    {% for r in rs %}
  • {% if kind == 'ticket' %}{{ r.id }} {% elif kind == 'decision' %}{{ r.id }} {% elif kind in ('doc', 'milestone') %}{{ link(kind ~ '://' ~ r.id) }} {% else %}{{ r.id }}{% endif %} {{ r.title }} {% for v in r.via %}{{ v }}{% endfor %}
  • {% endfor %}
{% else %}

Nothing cites {{ d.id }}.

{% endfor %}
{% endblock %}