Merge branch 'ent-11710-fallo-en-la-paginacion-de-el-apartado-de-alert-commands-en-nodos-con-metaconsola' into 'develop'

Ent 11710 fallo en la paginacion de el apartado de alert commands en nodos con metaconsola

See merge request 
This commit is contained in:
Rafael Ameijeiras 2023-08-04 09:40:25 +00:00
commit 7a5bb117d5
1 changed files with 3 additions and 3 deletions
pandora_console/godmode/alerts

View File

@ -725,17 +725,17 @@ if ($copy_command) {
$is_management_allowed = is_management_allowed(); $is_management_allowed = is_management_allowed();
if ($is_management_allowed === false) { if ($is_management_allowed === false) {
if (is_metaconsole() === false) { if (is_metaconsole() === false) {
$url = '<a target="_blank" href="'.ui_get_meta_url( $url_redirect = '<a target="_blank" href="'.ui_get_meta_url(
'index.php?sec=advanced&sec2=godmode/alerts/alert_commands&tab=command&pure=0' 'index.php?sec=advanced&sec2=godmode/alerts/alert_commands&tab=command&pure=0'
).'">'.__('metaconsole').'</a>'; ).'">'.__('metaconsole').'</a>';
} else { } else {
$url = __('any node'); $url_redirect = __('any node');
} }
ui_print_warning_message( ui_print_warning_message(
__( __(
'This node is configured with centralized mode. All alert commands information is read only. Go to %s to manage it.', 'This node is configured with centralized mode. All alert commands information is read only. Go to %s to manage it.',
$url $url_redirect
) )
); );
} }