Mercurial > libervia-templates
comparison default/ticket/item.html @ 62:e7b62f6980a1
ticket: added menus
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Nov 2017 00:17:01 +0100 |
parents | 50957f0669b9 |
children | 9834106678da |
comparison
equal
deleted
inserted
replaced
61:f76ec90e0e1e | 62:e7b62f6980a1 |
---|---|
4 @variable comments(data_object.BlogItems): comments of the ticket | 4 @variable comments(data_object.BlogItems): comments of the ticket |
5 @variable comments_service(unicode): service for adding comments | 5 @variable comments_service(unicode): service for adding comments |
6 @variable comments_node(unicode): node for adding comments | 6 @variable comments_node(unicode): node for adding comments |
7 #} | 7 #} |
8 | 8 |
9 {% set menus = [(url_tickets_list, _('Tickets list'), 'tickets_list'), | |
10 (url_tickets_new, _('Create new ticket'), 'ticket_new')] %} | |
9 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} | 11 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
10 {% import 'input/xmlui.html' as xmlui with context %} | 12 {% import 'input/xmlui.html' as xmlui with context %} |
11 {% import 'blog/macros.html' as blog with context %} | 13 {% import 'blog/macros.html' as blog with context %} |
12 {% import 'input/comment.html' as comment with context %} | 14 {% import 'input/comment.html' as comment with context %} |
13 | 15 |