Don't show setup links for resolved links
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
- Update all 0001 setting migrations to not accept manually migrated
|
||||
settings.
|
||||
- Update TemplateField to concatenate existing help texts.
|
||||
- Don't show the edit and delete links for resolved web links.
|
||||
|
||||
3.3.4 (2019-12-09)
|
||||
==================
|
||||
|
||||
@@ -112,6 +112,11 @@ class WebLinksApp(MayanAppConfig):
|
||||
links=(link_web_link_instance_view,),
|
||||
sources=(ResolvedWebLink,)
|
||||
)
|
||||
menu_object.unbind_links(
|
||||
links=(
|
||||
link_web_link_delete, link_web_link_edit
|
||||
), sources=(ResolvedWebLink,)
|
||||
)
|
||||
menu_secondary.bind_links(
|
||||
links=(link_web_link_list, link_web_link_create),
|
||||
sources=(
|
||||
|
||||
Reference in New Issue
Block a user