view default/ticket/overview.html @ 62:e7b62f6980a1

ticket: added menus
author Goffi <goffi@goffi.org>
date Sat, 11 Nov 2017 00:17:01 +0100
parents ea67eba3199d
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 %}