disable yellow dot when analysing turned off. Enabled is gone... need to do a more interesting check
This commit is contained in:
parent
980aaa5942
commit
433782bd6e
|
@ -281,9 +281,10 @@ for ($monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1) {
|
||||||
$dot_class_reason = $source_class_reason;
|
$dot_class_reason = $source_class_reason;
|
||||||
if ( $function_class != 'infoText' ) {
|
if ( $function_class != 'infoText' ) {
|
||||||
$dot_class = $function_class;
|
$dot_class = $function_class;
|
||||||
} else if (($monitor['Analysing'] == 'Always') and !$monitor['Enabled']) {
|
#} else if (($monitor['Analysing'] == 'Always') and !$monitor['Enabled']) {
|
||||||
$dot_class .= ' warnText';
|
#$dot_class .= ' warnText';
|
||||||
$dot_class_reason .= ' '.translate('Analysis is disabled');
|
#$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);
|
$scale = max(reScale(SCALE_BASE, $monitor['DefaultScale'], ZM_WEB_DEFAULT_SCALE), SCALE_BASE);
|
||||||
|
|
Loading…
Reference in New Issue