{% extends "base.html" %} {% block title %}Decisions · tkt ui{% endblock %} {% macro one(name) %}{{ (options.get(name) or [''])[-1] }}{% endmacro %} {% block main %}

Decisions {{ items | length }}

{% if options is filtered %}Clear filters{% endif %} Each filter is a tkt decision list option, and the URL keeps it.
{% if items %} {% for d in items %} {% set outs = d.relationships.values() | sum(start=[]) | length %} {% set ins = d.inverse.values() | sum(start=[]) | length %} {% endfor %}
idstatusdatedecisionrelations
{{ d.id }} {{ d.status }} {{ d.date }} {{ d.title }} {% if d.description %}
{{ link(d.description) }}
{% endif %} {% if d.affects %}
affects {% for a in d.affects %}{{ link(a) }}{{ ', ' if not loop.last }}{% endfor %}
{% endif %}
{% if outs or ins %}{{ outs }} → · {{ ins }} ←{% endif %}
{% else %}

No decisions{{ ' match the filters' if options }}.

{% endif %} {% endblock %}