| 1 | {# display the list of tickets #} |
| 2 | |
| 3 | {% set category_menu = [('ticket_new', url_tickets_new)] %} |
| 4 | {% extends 'base/base.html' %} |
| 5 | {% import 'input/xmlui.html' as xmlui with context %} |
| 6 | {% import 'input/navigation.html' as navigation with context %} |
| 7 | |
| 8 | {% block body %} |
| 9 | {{ icon_defs('angle-double-left', 'angle-double-right') }} |
| 10 | <div id="tickets" class="view tickets overview"> |
| 11 | {{ xmlui.generate_list(tickets, (('id', _('Id')), |
| 12 | ('title', _('Title')), |
| 13 | ('labels', _('Labels'))), |
| 14 | {'id': '[{value}]'}, |
| 15 | item_class_fields=['status', 'priority', 'severity'], |
| 16 | on_click=on_ticket_click) }} |
| 17 | </div> |
| 18 | {{ navigation.prev_next(_("previous page"), _("next page")) }} |
| 19 | {% endblock body %} |