Mercurial > libervia-templates
view default/ticket/overview.html @ 63:a9ecc765214c
ticket(view): use CSS grid to display metadata, and put data next to labels
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Nov 2017 17:20:28 +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 %}