From 433782bd6e4a2b5e4e6b4a1065ec3f998d864d0b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 28 Feb 2022 13:34:51 -0500 Subject: [PATCH] disable yellow dot when analysing turned off. Enabled is gone... need to do a more interesting check --- web/skins/classic/views/console.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 7a549950d..887db5245 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -281,9 +281,10 @@ for ($monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1) { $dot_class_reason = $source_class_reason; if ( $function_class != 'infoText' ) { $dot_class = $function_class; - } else if (($monitor['Analysing'] == 'Always') and !$monitor['Enabled']) { - $dot_class .= ' warnText'; - $dot_class_reason .= ' '.translate('Analysis is disabled'); + #} else if (($monitor['Analysing'] == 'Always') and !$monitor['Enabled']) { + #$dot_class .= ' warnText'; + #$dot_class_reason .= ' '.translate('Analysis is disabled'); + #FIXME replace this with a check for runstate vs dbstate } $scale = max(reScale(SCALE_BASE, $monitor['DefaultScale'], ZM_WEB_DEFAULT_SCALE), SCALE_BASE);