web/views/urlrewrite.py
changeset 7994 af3fb709c061
parent 7800 ea496a3ed703
child 8238 087bb529035c
equal deleted inserted replaced
7993:aa0addce4dae 7994:af3fb709c061
    99         ('/processinfo', dict(vid='processinfo')),
    99         ('/processinfo', dict(vid='processinfo')),
   100         (rgx('/cwuser', re.I), dict(vid='cw.users-and-groups-management',
   100         (rgx('/cwuser', re.I), dict(vid='cw.users-and-groups-management',
   101                                     tab=domid('cw.users-management'))),
   101                                     tab=domid('cw.users-management'))),
   102         (rgx('/cwgroup', re.I), dict(vid='cw.users-and-groups-management',
   102         (rgx('/cwgroup', re.I), dict(vid='cw.users-and-groups-management',
   103                                      tab=domid('cw.groups-management'))),
   103                                      tab=domid('cw.groups-management'))),
   104         (rgx('/cwsource', re.I), dict(vid='cw.source-management')),
   104         (rgx('/cwsource', re.I), dict(vid='cw.sources-management')),
   105         # XXX should be case insensitive as 'create', but I would like to find another way than
   105         # XXX should be case insensitive as 'create', but I would like to find another way than
   106         # relying on the etype_selector
   106         # relying on the etype_selector
   107         (rgx('/schema/([^/]+?)/?'),  dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')),
   107         (rgx('/schema/([^/]+?)/?'),  dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')),
   108         (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')),
   108         (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')),
   109         (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')),
   109         (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')),