diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/urls/note.py | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/urls/note.py')
-rw-r--r-- | servo/urls/note.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/servo/urls/note.py b/servo/urls/note.py new file mode 100644 index 0000000..7d7d830 --- /dev/null +++ b/servo/urls/note.py @@ -0,0 +1,29 @@ +from django.conf.urls import patterns, url + +urlpatterns = patterns( + "servo.views.note", + url(r'^$', 'list_notes', name="notes-list_notes"), + url(r'^search/$', 'search', name="notes-search"), + url(r'^find/$', 'find', name="notes-find"), + + url(r'^templates/$', 'templates'), + url(r'^new/$', 'edit', name="notes-create"), + url(r'^templates/(\d+)/$', 'templates', name='notes-template'), + url(r'^render_template/$', 'render_template', name='notes-render_template'), + url(r'^to/customer/(?P<customer>\d+)/new/$', 'edit', name="notes-create_to_customer"), + url(r'^(?P<pk>\d+)/toggle/tag/(?P<tag_id>\d+)/$', 'toggle_tag', name="notes-toggle_tag"), + url(r'^(?P<pk>\d+)/toggle/(?P<flag>[a-z]+)/$', 'toggle_flag', name="notes-toggle_flag"), + url(r'^(?P<parent>\d+)/reply/$', 'edit', name="notes-reply"), + url(r'^(?P<pk>\d+)/edit/$', 'edit', name="notes-edit"), + url(r'^(?P<pk>\d+)/messages/$', 'list_messages', name="notes-messages"), + url(r'^(?P<pk>\d+)/delete/$', 'delete_note', name='notes-delete_note'), + url(r'^(?P<pk>\d+)/copy/$', 'copy', name='notes-copy'), + url(r'^to/(?P<recipient>.+)/new/$', 'edit', name="notes-create_with_recipient"), + url(r'^to/(?P<recipient>.+)/order/(?P<order_id>\d+)/$', 'edit', + name="notes-create_with_to_and_order"), + + url(r'^escalations/new/$', 'create_escalation', name="notes-create_escalation"), + + url(r'^(?P<kind>\w+)/$', 'list_notes', name="notes-list_notes"), + url(r'^(?P<kind>\w+)/(?P<pk>\d+)/view/$', 'view_note', name="notes-view_note"), +) |