diff options
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"), |