Mercurial > libervia-web
comparison src/pages/tickets/view/page_meta.py @ 981:97cce8c1e96a
pages(tickets): better URL handling:
- do no accept anymore URL without service or node
- use new getSubPageURL for tickets_new and individual ticket viewing URLs
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 14 Nov 2017 08:37:48 +0100 |
parents | 75166ac3e0cc |
children | b92b06f023cb |
comparison
equal
deleted
inserted
replaced
980:bcacf970f970 | 981:97cce8c1e96a |
---|---|
9 from sat.tools.common import data_objects | 9 from sat.tools.common import data_objects |
10 from sat.core.log import getLogger | 10 from sat.core.log import getLogger |
11 log = getLogger('pages/tickets/view') | 11 log = getLogger('pages/tickets/view') |
12 """ticket handling pages""" | 12 """ticket handling pages""" |
13 | 13 |
14 name = u"tickets_view" | |
14 access = C.PAGES_ACCESS_PUBLIC | 15 access = C.PAGES_ACCESS_PUBLIC |
15 template = u"ticket/item.html" | 16 template = u"ticket/item.html" |
16 | 17 |
17 | 18 |
18 def parse_url(self, request): | 19 def parse_url(self, request): |