view sat_templates/default/ticket/overview.html @ 155:954759f0e8fa

css: styles improvments + following a bit more BEM conventions
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:12:40 +0200
parents 33c7ce833d3f
children
line wrap: on
line source

{# display the list of tickets #}

{% set category_menu = [('ticket_new', url_tickets_new)] %}
{% extends 'base/base.html' %}
{% import 'input/xmlui.html' as xmlui with context %}

{% block body %}
<div id="tickets" class="view tickets overview">
    {{ xmlui.generate_list(tickets, (('id', _('Id')),
                                     ('title', _('Title')),
                                     ('labels', _('Labels'))),
                          {'id': '[{value}]'},
                           item_class_fields=['status', 'priority', 'severity'],
                           on_click=on_ticket_click) }}
</div>
{% endblock body %}