Mercurial > libervia-templates
changeset 168:9e9ce1ae8b53
ticket/overview: added pagination
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Jan 2019 21:49:55 +0100 (2019-01-11) |
parents | 6f05d4bdc58e |
children | 4b5ad18f6ece |
files | sat_templates/templates/default/ticket/overview.html |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_templates/templates/default/ticket/overview.html Fri Jan 11 21:49:14 2019 +0100 +++ b/sat_templates/templates/default/ticket/overview.html Fri Jan 11 21:49:55 2019 +0100 @@ -3,8 +3,10 @@ {% set category_menu = [('ticket_new', url_tickets_new)] %} {% extends 'base/base.html' %} {% import 'input/xmlui.html' as xmlui with context %} +{% import 'input/navigation.html' as navigation with context %} {% block body %} +{{ icon_defs('angle-double-left', 'angle-double-right') }} <div id="tickets" class="view tickets overview"> {{ xmlui.generate_list(tickets, (('id', _('Id')), ('title', _('Title')), @@ -13,4 +15,5 @@ item_class_fields=['status', 'priority', 'severity'], on_click=on_ticket_click) }} </div> +{{ navigation.prev_next(_("previous page"), _("next page")) }} {% endblock body %}