{% 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 %} {# TODO: This is a workaround that creates named tickets, rework when there is a means of creating unnamed tickets #}
{{ _("Tags:") }} {% for tag in tags|sort %} {# 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 %}
{% if results %}

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

{% for result in results %} {% endfor %}
{{ _("Summary") }} {{ _("Status") }} {{ _("Updated") }} {{ _("Assignee") }} E D S P {{ _("Tags") }}
{{ result['summary'] }} {{ _("Closed") if result['closed'] else _("Open") }} {{ result.get('mtime', '').strftime('%Y-%m-%d') }} {{ get_assigned_to_info(result) }} {{ 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 on additional column headers!") }}

{% else %}

{{ _("No tickets found.") }}

{% endif %} {% endblock %} {% block body_scripts %} {{ super() }} {% endblock %}