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 artica/pandorafms!6241
This commit is contained in:
commit
7a5bb117d5
pandora_console/godmode/alerts
|
@ -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
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue