{% extends "base.html" %} {% from "_when.html" import when, changed, sort_field %} {% block title %}Gotchas ยท tkt ui{% endblock %} {% block main %}

Gotchas {{ items | length }}

{{ sort_field(sort) }} {% if sort %}Clear filters{% endif %}
{% for g in items %} {% set tickets = g.refs | selectattr('kind', 'equalto', 'ticket') | list %} {% set groups = g.refs | selectattr('kind', 'equalto', 'group') | list %} {% else %} {% endfor %}
GotchaSeverityTitleInherited byUpdated
gotcha://{{ g.id }} {{ g.severity }} {{ g.title or g.id }} {% if g.description %}
{{ link(g.description) }}
{% endif %}
{% if g.refs %} {% for r in groups %}{{ r.id }} {% endfor %} {{ tickets | length }} ticket{{ '' if tickets | length == 1 else 's' }} {% else %}none{% endif %} {{ changed(g) }}
No gotchas yet: tkt gotcha new <id>.
{% endblock %}