comparison 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
comparison
equal deleted inserted replaced
73:94b04fba91c7 74:e99bd385774a
4 {% extends 'base/base.html' %} 4 {% extends 'base/base.html' %}
5 {% import 'input/xmlui.html' as xmlui with context %} 5 {% import 'input/xmlui.html' as xmlui with context %}
6 6
7 {% block body %} 7 {% block body %}
8 <div id="tickets" class="view tickets overview"> 8 <div id="tickets" class="view tickets overview">
9 {{ xmlui.generate_table(tickets, (('id', _('Id')), 9 {{ xmlui.generate_list(tickets, (('id', _('Id')),
10 ('title', _('Title'))), 10 ('title', _('Title')),
11 tr_class_fields=['status', 'priority', 'severity'], 11 ('labels', _('Labels'))),
12 on_click=on_ticket_click) }} 12 {'id': '[{value}]'},
13 item_class_fields=['status', 'priority', 'severity'],
14 on_click=on_ticket_click) }}
13 </div> 15 </div>
14 {% endblock body %} 16 {% endblock body %}