mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#12175 Fix recovery alert icon
This commit is contained in:
parent
5265ecbe9c
commit
84ab19119b
@ -2594,6 +2594,7 @@ function events_print_type_img(
|
|||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'alert_recovered':
|
case 'alert_recovered':
|
||||||
$style .= ' alert_module_background_state icon_background_normal ';
|
$style .= ' alert_module_background_state icon_background_normal ';
|
||||||
|
$icon = '';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'alert_manual_validation':
|
case 'alert_manual_validation':
|
||||||
@ -2680,6 +2681,16 @@ function events_print_type_img(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($type === 'alert_recovered') {
|
||||||
|
$output = html_print_div(
|
||||||
|
[
|
||||||
|
'title' => events_print_type_description($type, true),
|
||||||
|
'class' => $style,
|
||||||
|
],
|
||||||
|
true
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if ($return) {
|
if ($return) {
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user