Mercurial > libervia-web
changeset 1043:d8666fdb015c
pages (tickets, merge-requests): fixed items URLs
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 24 Jan 2018 09:58:00 +0100 |
parents | f7d45c989c05 |
children | 3d97c93561ff |
files | src/pages/merge-requests/page_meta.py src/pages/tickets/page_meta.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pages/merge-requests/page_meta.py Wed Jan 24 09:58:00 2018 +0100 +++ b/src/pages/merge-requests/page_meta.py Wed Jan 24 09:58:00 2018 +0100 @@ -58,4 +58,4 @@ merge_requests = yield self.host.bridge.mergeRequestsGet(service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile) template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in merge_requests[0]] - template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, 'merge-requests_view', '{item.id}')) + template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'merge-requests_view') + u'/{item.id}')
--- a/src/pages/tickets/page_meta.py Wed Jan 24 09:58:00 2018 +0100 +++ b/src/pages/tickets/page_meta.py Wed Jan 24 09:58:00 2018 +0100 @@ -57,4 +57,4 @@ tickets = yield self.host.bridgeCall('ticketsGet', service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile) template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in tickets[0]] - template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, 'tickets_view', '{item.id}')) + template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'tickets_view') + u'/{item.id}')