Mercurial > libervia-templates
view default/ticket/overview.html @ 66:9834106678da
base: menu implementation:
2 menus are now handled: main menu and category menu (for submenus relative to a page).
Main menu is displayed on the side bar on big screen.
Added menu for tickets.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Dec 2017 00:46:42 +0100 |
parents | e7b62f6980a1 |
children | e99bd385774a |
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_table(tickets, (('id', _('Id')), ('title', _('Title'))), tr_class_fields=['status', 'priority', 'severity'], on_click=on_ticket_click) }} </div> {% endblock body %}