diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-18 23:21:07 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-18 23:21:07 +0300 |
commit | c498e23d48548e8048d656677a6b7ee2a9c3fe36 (patch) | |
tree | a78e08c21a7ead38b8f95ec9ff0e21946715e0f4 /servo/urls | |
parent | cef2dc31b06c7070c5a4e7e3e608402230e1e4b2 (diff) | |
download | Servo-c498e23d48548e8048d656677a6b7ee2a9c3fe36.tar.gz Servo-c498e23d48548e8048d656677a6b7ee2a9c3fe36.tar.bz2 Servo-c498e23d48548e8048d656677a6b7ee2a9c3fe36.zip |
Fix issue with editing notes and multiple tabs
Diffstat (limited to 'servo/urls')
-rw-r--r-- | servo/urls/note.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/servo/urls/note.py b/servo/urls/note.py index 87f3035..4057f40 100644 --- a/servo/urls/note.py +++ b/servo/urls/note.py @@ -11,10 +11,15 @@ urlpatterns = patterns( 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'^render/$', 'render_template', name='notes-render_template'), + url(r'^render/(?P<order_id>\d+)/$', '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"), |