diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-01 15:50:52 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 09:57:24 +0200 |
commit | 7343c9f1bbc28be270b2093dcd9e713a7bdcdb89 (patch) | |
tree | 0ed9392291c50980c7dbff14c9a05edc601076de /ishtar_common/urls.py | |
parent | 10b603af68689ea3b251006b7ec05855b9616811 (diff) | |
download | Ishtar-7343c9f1bbc28be270b2093dcd9e713a7bdcdb89.tar.bz2 Ishtar-7343c9f1bbc28be270b2093dcd9e713a7bdcdb89.zip |
Adapt forms, wizards, views, urls for new management of documents (refs #4107)
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r-- | ishtar_common/urls.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py index 5a3ed217d..a64e6ab24 100644 --- a/ishtar_common/urls.py +++ b/ishtar_common/urls.py @@ -225,6 +225,34 @@ urlpatterns += [ name='show-shortcut-menu'), url(r'(?P<action_slug>' + actions + r')/$', views.action, name='action'), ] +""" + url(r'operation_source_search/(?P<step>.+)?$', + check_rights(['view_operation', 'view_own_operation'])( + views.operation_source_search_wizard), + name='operation_source_search'), + url(r'operation_source_creation/(?P<step>.+)?$', + check_rights(['change_operation', 'change_own_operation'])( + views.operation_source_creation_wizard), + name='operation_source_creation'), + url(r'operation_source_modification/(?P<step>.+)?$', + check_rights(['change_operation', 'change_own_operation'])( + views.operation_source_modification_wizard), + name='operation_source_modification'), + url(r'operation_source_modify/(?P<pk>.+)/$', + views.operation_source_modify, name='operation_source_modify'), + url(r'operation_source_deletion/(?P<step>.+)?$', + check_rights(['change_operation', 'change_own_operation'])( + views.operation_source_deletion_wizard), + name='operation_source_deletion'), + + url(r'show-operationsource(?:/(?P<pk>.+))?/(?P<type>.+)?$', + views.show_operationsource, name=models.OperationSource.SHOW_URL), + url(r'get-operationsource/(?P<type>.+)?$', + views.get_operationsource, name='get-operationsource'), + url(r'get-operationsource-full/(?P<type>.+)?$', + views.get_operationsource, name='get-operationsource-full', + kwargs={'full': True}), +""" if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, |