From 09e251bbd9a6b6c211305eb0ec028a16b0f25ced Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Fri, 21 Apr 2023 10:07:55 +0200 Subject: [PATCH] #9771 added warning when task is incomplete --- .../godmode/wizards/DiscoveryTaskList.class.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php index f58a54ae37..c60f63e5d2 100644 --- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php +++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php @@ -726,6 +726,17 @@ class DiscoveryTaskList extends HTML $data[1] .= ''.$task['name'].''; } + if ((int) $task['type'] === DISCOVERY_EXTENSION && (int) $task['setup_complete'] === 0) { + $data[1] .= html_print_image( + 'images/alert-yellow@svg.svg', + true, + [ + 'title' => __('Tasks without complete setup won\'t be run by server.'), + 'class' => 'main_menu_icon invert_filter margin-left-1', + ] + ); + } + if ($task['disabled'] != 2) { $data[1] .= ''; }