view sat_templates/templates/default/ticket/overview.html @ 167:6f05d4bdc58e

navigation, CSS: use "previous" and "next" instead of "older" and "newer" for previous and next pages
author Goffi <goffi@goffi.org>
date Fri, 11 Jan 2019 21:49:14 +0100
parents e9f0a4215e46
children 9e9ce1ae8b53
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 %}