comparison src/pages/merge-requests/page_meta.py @ 1043:d8666fdb015c

pages (tickets, merge-requests): fixed items URLs
author Goffi <goffi@goffi.org>
date Wed, 24 Jan 2018 09:58:00 +0100
parents 6ce9647011b3
children ed67265205c4
comparison
equal deleted inserted replaced
1042:f7d45c989c05 1043:d8666fdb015c
56 service, node = data[u'service'], data[u'node'] 56 service, node = data[u'service'], data[u'node']
57 profile = self.getProfile(request) or C.SERVICE_PROFILE 57 profile = self.getProfile(request) or C.SERVICE_PROFILE
58 58
59 merge_requests = yield self.host.bridge.mergeRequestsGet(service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile) 59 merge_requests = yield self.host.bridge.mergeRequestsGet(service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile)
60 template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in merge_requests[0]] 60 template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in merge_requests[0]]
61 template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, 'merge-requests_view', '{item.id}')) 61 template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'merge-requests_view') + u'/{item.id}')