Mercurial > libervia-templates
changeset 62:e7b62f6980a1
ticket: added menus
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Nov 2017 00:17:01 +0100 |
parents | f76ec90e0e1e |
children | a9ecc765214c |
files | default/ticket/create.html default/ticket/item.html default/ticket/overview.html |
diffstat | 3 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/default/ticket/create.html Sat Nov 11 00:16:35 2017 +0100 +++ b/default/ticket/create.html Sat Nov 11 00:17:01 2017 +0100 @@ -1,3 +1,6 @@ +{# creata a new ticket #} + +{% set menus = [(url_tickets_list, _('Tickets list'), 'tickets_list')] %} {% extends 'base/base.html' %} {% import 'input/form.html' as form with context %} {% import 'input/field.html' as field with context %}
--- a/default/ticket/item.html Sat Nov 11 00:16:35 2017 +0100 +++ b/default/ticket/item.html Sat Nov 11 00:17:01 2017 +0100 @@ -6,6 +6,8 @@ @variable comments_node(unicode): node for adding comments #} +{% set menus = [(url_tickets_list, _('Tickets list'), 'tickets_list'), + (url_tickets_new, _('Create new ticket'), 'ticket_new')] %} {% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% import 'input/xmlui.html' as xmlui with context %} {% import 'blog/macros.html' as blog with context %}
--- a/default/ticket/overview.html Sat Nov 11 00:16:35 2017 +0100 +++ b/default/ticket/overview.html Sat Nov 11 00:17:01 2017 +0100 @@ -1,3 +1,6 @@ +{# display the list of tickets #} + +{% set menus = [(url_tickets_new, _('Create new ticket'), 'ticket_new')] %} {% extends 'base/base.html' %} {% import 'input/xmlui.html' as xmlui with context %}