{# display the list of tickets #} {% set menus = [(url_tickets_new, _('Create new ticket'), 'ticket_new')] %} {% extends 'base/base.html' %} {% import 'input/xmlui.html' as xmlui with context %} {% block body %}
{{ xmlui.generate_table(tickets, (('id', _('Id')), ('title', _('Title'))), tr_class_fields=['status', 'priority', 'severity'], on_click=on_ticket_click) }}
{% endblock body %}