{% extends theme("layout.html") %} {% set search_form=None %} {% set title = _("Tickets") %} {% block content %}

{{_("Tickets")}}

{% set status_values = ['all', 'open', 'closed'] %} {{_("Filter:")}} {% for status_value in status_values %}
 
{% endfor %}
{% if results %}

{{ _("%(result_len)d Tickets found.", result_len=results|length) }}

{% for result in results %} {% endfor %}
{{_("ID")}} {{_("Summary")}} {{_("Status")}} E D S P {{_("Tags")}}
{{result['itemid'] | shorten_id}} {{ result['summary'] }} {{ _("Closed") if result['closed'] else _("Open") }} {{ result.get('effort', '') }} {{ result.get('difficulty', '') }} {{ result.get('severity', '') }} {{ result.get('priority', '') }} {% for tag in result['tags'] %} {{ tag }} {% endfor %}

{{_("Tip: Sort multiple columns simultaneously by holding down the Shift key and clicking a second, third or even fourth column header!")}}

{% else %} {{ _("No Ticket found.") }} {% endif %}

{{_("Tags")}}

{% for tag in tags %} {# If user clicks on the tag then it gets selected if it is not already selected #} {# If that tag is already selected then it gets deselected #} {% set selected_tags_value = list(selected_tags.difference([tag]) if tag in selected_tags else selected_tags.union([tag])) %}
{% endfor %} {% endblock %} {% block body_scripts %} {{ super() }} {% endblock %}