Mercurial > libervia-templates
diff default/ticket/overview.html @ 74:e99bd385774a
ticket(overview): use list instead of table and display labels
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 04 Dec 2017 00:50:40 +0100 |
parents | 9834106678da |
children |
line wrap: on
line diff
--- a/default/ticket/overview.html Mon Dec 04 00:49:35 2017 +0100 +++ b/default/ticket/overview.html Mon Dec 04 00:50:40 2017 +0100 @@ -6,9 +6,11 @@ {% 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) }} + {{ xmlui.generate_list(tickets, (('id', _('Id')), + ('title', _('Title')), + ('labels', _('Labels'))), + {'id': '[{value}]'}, + item_class_fields=['status', 'priority', 'severity'], + on_click=on_ticket_click) }} </div> {% endblock body %}