comparison sat_templates/templates/default/list/overview.html @ 298:1c330913ff13

bulma (tickets): renamed "tickets" to "lists"
author Goffi <goffi@goffi.org>
date Thu, 28 Jan 2021 18:42:59 +0100
parents sat_templates/templates/default/ticket/overview.html@9e9ce1ae8b53
children
comparison
equal deleted inserted replaced
297:0657982e81af 298:1c330913ff13
1 {# display the list of tickets #}
2
3 {% set category_menu = [('ticket_new', url_tickets_new)] %}
4 {% extends 'base/base.html' %}
5 {% import 'input/xmlui.html' as xmlui with context %}
6 {% import 'input/navigation.html' as navigation with context %}
7
8 {% block body %}
9 {{ icon_defs('angle-double-left', 'angle-double-right') }}
10 <div id="tickets" class="view tickets overview">
11 {{ xmlui.generate_list(tickets, (('id', _('Id')),
12 ('title', _('Title')),
13 ('labels', _('Labels'))),
14 {'id': '[{value}]'},
15 item_class_fields=['status', 'priority', 'severity'],
16 on_click=on_ticket_click) }}
17 </div>
18 {{ navigation.prev_next(_("previous page"), _("next page")) }}
19 {% endblock body %}