view default/ticket/overview.html @ 65:dd15b6c0b1d3

input/xmlui: added 'jid' widget type, using string_widget for now
author Goffi <goffi@goffi.org>
date Wed, 15 Nov 2017 08:52:14 +0100
parents e7b62f6980a1
children 9834106678da
line wrap: on
line source

{# 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 %}
<div id="tickets" class="view tickets overview">
    {{ xmlui.generate_table(tickets, (('id', _('Id')),
                                      ('title', _('Title'))),
                            tr_class_fields=['status', 'priority', 'severity'],
                            on_click=on_ticket_click) }}
</div>
{% endblock body %}