view default/ticket/overview.html @ 58:4347910cc594

input(xmlui): added attributes argument to create: specific attributes can be used of named widget (for some widget converted to <input> only so far). The argument is a dict from widget name to a sub dict containing the keyword arguments. The next dict_ext filter is used.
author Goffi <goffi@goffi.org>
date Thu, 09 Nov 2017 08:05:23 +0100
parents ea67eba3199d
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 %}