diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 472e035ce9..c5efe243bb 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,7 +1,15 @@ +2008-10-20 Manuel Arostegui + + * operation/agentes/estado_agente.php: Fixed agent status color + column. It was showing incorrect values in some cases like without + data or monitors. + + * ChangeLog: Fixed Jorge previous commit style. + 2008-10-20 Jorge Gonzalez - * operation/agentes/estado_agente.php, operation/agentes/bulbs.php: - reverted changes. + * operation/agentes/estado_agente.php, operation/agentes/bulbs.php: + Reverted changes. 2008-10-20 Jorge Gonzalez diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index f846f9855a..aaf70bb1d6 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -321,22 +321,24 @@ echo '"; + echo ''; } else { - echo ""; + echo ''; } } elseif ($monitor_ok > 0) { - echo ""; + echo ''; + } elseif ($numero_datamodules == 0) { + echo ''; + } elseif ($monitor_down > 0) { + echo ''; } - elseif ($numero_datamodules > 0) { - echo ""; + } else { + if ($numero_datamodules == 0) { + echo ''; + } else { + echo ''; } - elseif ($monitor_down > 0) { - echo ""; - } - } else - echo ""; - + } // checks if an alert was fired recently echo ""; if (give_disabled_group($id_grupo) == 1)