comparison default/ticket/overview.html @ 56:ea67eba3199d

ticket: first draft: those templates are the first implementations to: - show a list of tickets - create a new ticket - display a ticket an its comments
author Goffi <goffi@goffi.org>
date Sun, 05 Nov 2017 22:04:34 +0100
parents
children e7b62f6980a1
comparison
equal deleted inserted replaced
55:d58fdd57df49 56:ea67eba3199d
1 {% extends 'base/base.html' %}
2 {% import 'input/xmlui.html' as xmlui with context %}
3
4 {% block body %}
5 <div id="tickets" class="view tickets overview">
6 {{ xmlui.generate_table(tickets, (('id', _('Id')),
7 ('title', _('Title'))),
8 tr_class_fields=['status', 'priority', 'severity'],
9 on_click=on_ticket_click) }}
10 </div>
11 {% endblock body %}