mirror of https://github.com/jumpserver/jumpserver
fix: 修改推送系统用户提示文案
parent
e0a2d03f44
commit
a882ca0d51
|
@ -274,7 +274,7 @@ def push_system_user_a_asset_manual(system_user, asset, username=None):
|
||||||
# if username is None:
|
# if username is None:
|
||||||
# username = system_user.username
|
# username = system_user.username
|
||||||
task_name = gettext_noop("Push system users to asset: ") + "{}({}) => {}".format(
|
task_name = gettext_noop("Push system users to asset: ") + "{}({}) => {}".format(
|
||||||
system_user.name, username, asset
|
system_user.name, username or '', asset
|
||||||
)
|
)
|
||||||
return push_system_user_util(system_user, [asset], task_name=task_name, username=username)
|
return push_system_user_util(system_user, [asset], task_name=task_name, username=username)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue