Display the cabinet "Add new level" link in the top level view too.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-10-09 19:15:09 -04:00
parent 4cbe27a462
commit cc27233765
2 changed files with 3 additions and 4 deletions

View File

@@ -10,6 +10,7 @@
* Only render the Template API view for authenticated users.
Thanks rgarcia for the report.
* Add icon to the cabinet "Add new level" link.
* Display the cabinet "Add new level" link in the top level view too.
3.1.5 (2018-10-08)
==================

View File

@@ -114,12 +114,10 @@ class CabinetsApp(MayanAppConfig):
menu_object.bind_links(
links=(
link_cabinet_view, link_cabinet_edit,
link_custom_acl_list, link_cabinet_delete
link_custom_acl_list, link_cabinet_child_add,
link_cabinet_delete
), sources=(Cabinet,)
)
menu_sidebar.bind_links(
links=(link_cabinet_child_add,), sources=(Cabinet,)
)
menu_sidebar.bind_links(
links=(link_cabinet_add_document, link_document_cabinet_remove),
sources=(