Backport new menu, new sidebar and CSS changes
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -8,7 +8,9 @@ from mayan.apps.acls.classes import ModelPermission
|
||||
from mayan.apps.acls.links import link_acl_list
|
||||
from mayan.apps.acls.permissions import permission_acl_edit, permission_acl_view
|
||||
from mayan.apps.common.apps import MayanAppConfig
|
||||
from mayan.apps.common.menus import menu_object, menu_secondary, menu_setup
|
||||
from mayan.apps.common.menus import (
|
||||
menu_list_facet, menu_object, menu_secondary, menu_setup
|
||||
)
|
||||
from mayan.apps.navigation import SourceColumn
|
||||
|
||||
from .links import (
|
||||
@@ -54,9 +56,14 @@ class MOTDApp(MayanAppConfig):
|
||||
func=lambda context: context['object'].end_datetime or _('None')
|
||||
)
|
||||
|
||||
menu_list_facet.bind_links(
|
||||
links=(
|
||||
link_acl_list,
|
||||
), sources=(Message,)
|
||||
)
|
||||
menu_object.bind_links(
|
||||
links=(
|
||||
link_message_edit, link_acl_list, link_message_delete
|
||||
link_message_delete, link_message_edit
|
||||
), sources=(Message,)
|
||||
)
|
||||
menu_secondary.bind_links(
|
||||
|
||||
Reference in New Issue
Block a user