Mercurial > libervia-templates
view default/ticket/overview.html @ 146:7dc00829c32f
Instal sat_templates the python's way
You can just call 'pip install .' to install sat_templates.
author | Xavier Maillard <xavier@maillard.im> |
---|---|
date | Sat, 30 Dec 2017 14:13:09 +0100 |
parents | e99bd385774a |
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 %}