Move current user views and add user events
Move the current user detail and edit views from the common app to the user_management app. Add the user created and edited events. Add an user detail view. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -25,11 +25,9 @@ from .handlers import (
|
||||
)
|
||||
from .licenses import * # NOQA
|
||||
from .links import (
|
||||
link_about, link_check_version, link_current_user_details,
|
||||
link_current_user_edit, link_current_user_locale_profile_edit,
|
||||
link_about, link_check_version, link_current_user_locale_profile_edit,
|
||||
link_license, link_object_error_list_clear, link_packages_licenses,
|
||||
link_setup, link_tools, separator_system, separator_user_label,
|
||||
text_user_label
|
||||
link_setup, link_tools, separator_system
|
||||
)
|
||||
from .literals import DELETE_STALE_UPLOADS_INTERVAL, MESSAGE_SQLITE_WARNING
|
||||
from .menus import (
|
||||
@@ -132,10 +130,8 @@ class CommonApp(MayanAppConfig):
|
||||
)
|
||||
menu_user.bind_links(
|
||||
links=(
|
||||
text_user_label, separator_user_label,
|
||||
link_current_user_details, link_current_user_edit,
|
||||
link_current_user_locale_profile_edit,
|
||||
)
|
||||
), position=50
|
||||
)
|
||||
|
||||
menu_about.bind_links(
|
||||
|
||||
Reference in New Issue
Block a user