view 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
line wrap: on
line source

{% 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 %}