equal
deleted
inserted
replaced
64 # TODO(tlarsen): combine path and link_name and check for uniqueness |
64 # TODO(tlarsen): combine path and link_name and check for uniqueness |
65 return link_name |
65 return link_name |
66 |
66 |
67 |
67 |
68 DEF_SITE_DOCS_EDIT_TMPL = 'soc/site/docs/edit.html' |
68 DEF_SITE_DOCS_EDIT_TMPL = 'soc/site/docs/edit.html' |
69 DEF_CREATE_NEW_DOC_MSG = ' You can create a new user by visiting the' \ |
69 DEF_CREATE_NEW_DOC_MSG = ' You can create a new document by visiting the' \ |
70 ' <a href="/site/docs/edit">Create ' \ |
70 ' <a href="/site/docs/edit">Create ' \ |
71 'a New Document</a> page.' |
71 'a New Document</a> page.' |
72 |
72 |
73 def edit(request, partial_path=None, linkname=None, |
73 def edit(request, partial_path=None, linkname=None, |
74 template=DEF_SITE_DOCS_EDIT_TMPL): |
74 template=DEF_SITE_DOCS_EDIT_TMPL): |