mirror of https://github.com/jumpserver/jumpserver
perf: 社区版移除magnus
parent
53a388a7e0
commit
ea6cd853de
|
@ -209,6 +209,9 @@
|
|||
"asset": "asset",
|
||||
"cols": "cols",
|
||||
"confirm": "confirm",
|
||||
"connectDisabledTipsNoAccount": "Tips: No valid authorization account found, current resource cannot be connected. Please contact the administrator for assistance",
|
||||
"connectDisabledTipsNoConnectMethod": "Tips: No valid connection method found, current resource cannot be connected. Please contact the administrator for assistance",
|
||||
"connectDisabledTipsMethodDisabled": "Tips: No valid remote application deployment machine found, current resource cannot be connected. Please contact the administrator for assistance",
|
||||
"connect info": "connect info",
|
||||
"download": "download",
|
||||
"rows": "rows",
|
||||
|
|
|
@ -207,6 +207,9 @@
|
|||
"asset": "资产",
|
||||
"cols": "列数",
|
||||
"confirm": "确认",
|
||||
"connectDisabledTipsNoAccount": "提示:未找到有效的授权账号,当前资源无法连接,请联系管理员进行处理",
|
||||
"connectDisabledTipsNoConnectMethod": "提示:未找到有效的连接方式,当前资源无法连接,请联系管理员进行处理",
|
||||
"connectDisabledTipsMethodDisabled": "提示:未找到有效的远程应用发布机,当前资源无法连接,请联系管理员进行处理",
|
||||
"connect info": "连接信息",
|
||||
"download": "下载",
|
||||
"rows": "行数",
|
||||
|
|
|
@ -242,7 +242,8 @@ class ConnectMethodUtil:
|
|||
'razor': 'TERMINAL_RAZOR_ENABLED',
|
||||
'magnus': 'TERMINAL_MAGNUS_ENABLED',
|
||||
}
|
||||
disabled_component = [comp for comp, attr in component_setting.items() if not getattr(settings, attr)]
|
||||
disabled_component = [comp for comp, attr in component_setting.items() if
|
||||
not (getattr(settings, attr) and settings.XPACK_LICENSE_IS_VALID)]
|
||||
if not disabled_component:
|
||||
return methods
|
||||
|
||||
|
|
Loading…
Reference in New Issue