summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-09 00:41:57 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-09 00:41:57 +0200
commit5230a8e0a06a5d67d6c13f2359bc51be07b4fb5a (patch)
tree5df1cfe674759003b1599f7334448f9c7f00637d /ishtar_common/urls.py
parent06f8d8f45d5c08ec9ed17cee4836f3311703e6df (diff)
downloadIshtar-5230a8e0a06a5d67d6c13f2359bc51be07b4fb5a.tar.bz2
Ishtar-5230a8e0a06a5d67d6c13f2359bc51be07b4fb5a.zip
Shortcut menu: menu is now dynamic - selected items filter dependant items (refs #2996) - can now pin items from sheet (refs #3078)
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r--ishtar_common/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py
index a6f24beed..802e6ca0d 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -34,6 +34,7 @@ urlpatterns = patterns(
# internationalization
url(r'^i18n/', include('django.conf.urls.i18n')),
# General
+ url(r'shortcut_menu/', views.shortcut_menu, name='shortcut-menu'),
url(r'person_search/(?P<step>.+)?$',
check_rights(['add_person'])(
views.person_search_wizard), name='person_search'),
@@ -129,6 +130,8 @@ urlpatterns += patterns(
name='dashboard-main-detail'),
url(r'update-current-item/$', 'update_current_item',
name='update-current-item'),
+ url(r'pin/(?P<item_type>[a-z-]+)/(?P<pk>\d+)/$', 'update_current_item',
+ name='pin'),
url(r'new-person/(?:(?P<parent_name>[^/]+)/)?(?:(?P<limits>[^/]+)/)?$',
'new_person', name='new-person'),
url(r'new-person-noorga/'