comparison src/pages/tickets/page_meta.py @ 1081:ed67265205c4

pages (merge-requests): added a discovery page similar to tickets one: new "mr_handlers_json" option allows to add well known merge-requests handlers in configuration.
author Goffi <goffi@goffi.org>
date Tue, 27 Mar 2018 08:40:12 +0200
parents 296bda6b7ed0
children 3996acd7c796
comparison
equal deleted inserted replaced
1080:2c2b8c08e6c9 1081:ed67265205c4
15 15
16 16
17 def parse_url(self, request): 17 def parse_url(self, request):
18 self.getPathArgs(request, ['service', 'node'], service='jid') 18 self.getPathArgs(request, ['service', 'node'], service='jid')
19 data = self.getRData(request) 19 data = self.getRData(request)
20
21 service, node = data[u'service'], data[u'node'] 20 service, node = data[u'service'], data[u'node']
22 if node is None: 21 if node is None:
23 self.pageRedirect(u"tickets_disco", request) 22 self.pageRedirect(u"tickets_disco", request)
24 if node == u'@': 23 if node == u'@':
25 node = data[u'node'] = u'' 24 node = data[u'node'] = u''