Added image to planned downtime
This commit is contained in:
parent
9169cff0b5
commit
4ebc081855
|
@ -561,10 +561,23 @@ if ($agents !== false) {
|
||||||
'<span style="font-size: 7pt" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span>' .
|
'<span style="font-size: 7pt" title="' . $agent["nombre"] . '">'.$agent["alias"].'</span>' .
|
||||||
"</a>";
|
"</a>";
|
||||||
echo "</strong>";
|
echo "</strong>";
|
||||||
|
|
||||||
|
$in_planned_downtime = db_get_value_filter('id', 'tplanned_downtime_agents', array('id_agent' => $agent["id_agente"]));
|
||||||
|
|
||||||
if ($agent["disabled"]) {
|
if ($agent["disabled"]) {
|
||||||
ui_print_help_tip(__('Disabled'));
|
ui_print_help_tip(__('Disabled'));
|
||||||
|
|
||||||
|
if (!$in_planned_downtime) {
|
||||||
echo "</em>";
|
echo "</em>";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($in_planned_downtime) {
|
||||||
|
ui_print_help_tip (__('Agent in planned downtime'), false, 'images/minireloj-16.png');
|
||||||
|
|
||||||
|
echo "</em>";
|
||||||
|
}
|
||||||
|
|
||||||
echo '</span><div class="left actions" style="visibility: hidden; clear: left">';
|
echo '</span><div class="left actions" style="visibility: hidden; clear: left">';
|
||||||
if (check_acl ($config["id_user"], $agent["id_grupo"], "AW")) {
|
if (check_acl ($config["id_user"], $agent["id_grupo"], "AW")) {
|
||||||
echo '<a href="index.php?sec=gagente&
|
echo '<a href="index.php?sec=gagente&
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 439 B |
Loading…
Reference in New Issue