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:
@@ -10,6 +10,7 @@
|
|||||||
* Only render the Template API view for authenticated users.
|
* Only render the Template API view for authenticated users.
|
||||||
Thanks rgarcia for the report.
|
Thanks rgarcia for the report.
|
||||||
* Add icon to the cabinet "Add new level" link.
|
* 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)
|
3.1.5 (2018-10-08)
|
||||||
==================
|
==================
|
||||||
|
|||||||
@@ -114,12 +114,10 @@ class CabinetsApp(MayanAppConfig):
|
|||||||
menu_object.bind_links(
|
menu_object.bind_links(
|
||||||
links=(
|
links=(
|
||||||
link_cabinet_view, link_cabinet_edit,
|
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,)
|
), sources=(Cabinet,)
|
||||||
)
|
)
|
||||||
menu_sidebar.bind_links(
|
|
||||||
links=(link_cabinet_child_add,), sources=(Cabinet,)
|
|
||||||
)
|
|
||||||
menu_sidebar.bind_links(
|
menu_sidebar.bind_links(
|
||||||
links=(link_cabinet_add_document, link_document_cabinet_remove),
|
links=(link_cabinet_add_document, link_document_cabinet_remove),
|
||||||
sources=(
|
sources=(
|
||||||
|
|||||||
Reference in New Issue
Block a user