equal
deleted
inserted
replaced
101 |
101 |
102 if entity: |
102 if entity: |
103 submenus += document_view.view.getMenusForScope(entity, self._params) |
103 submenus += document_view.view.getMenusForScope(entity, self._params) |
104 if accounts.isDeveloper(id, user): |
104 if accounts.isDeveloper(id, user): |
105 submenus += [(redirects.getCreateDocumentRedirect(entity, 'site'), |
105 submenus += [(redirects.getCreateDocumentRedirect(entity, 'site'), |
106 "Create new document", 'any_access')] |
106 "Create a New Document", 'any_access')] |
107 |
107 |
108 new_params = {} |
108 new_params = {} |
109 new_params['sidebar_additional'] = submenus |
109 new_params['sidebar_additional'] = submenus |
110 |
110 |
111 params = dicts.merge(params, new_params) |
111 params = dicts.merge(params, new_params) |