Mercurial > libervia-templates
diff 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 diff
--- a/default/ticket/overview.html Wed Nov 15 08:52:14 2017 +0100 +++ b/default/ticket/overview.html Fri Dec 01 00:46:42 2017 +0100 @@ -1,6 +1,6 @@ {# display the list of tickets #} -{% set menus = [(url_tickets_new, _('Create new ticket'), 'ticket_new')] %} +{% set category_menu = [('ticket_new', url_tickets_new)] %} {% extends 'base/base.html' %} {% import 'input/xmlui.html' as xmlui with context %}