Remove alert name column, improve description

This commit is contained in:
Alfredo Cardigliano 2021-05-05 14:34:03 +02:00
parent ddc3c3de6b
commit c7fa2a458d
8 changed files with 34 additions and 32 deletions

View file

@ -600,7 +600,7 @@ function alert_store:format_record_common(value, entity_id, no_html)
local severity_label = ""
if severity and not no_html then
severity_label = "<i class='"..severity.icon.."' title='"..i18n(severity.i18n_title).."'></i> "
severity_label = "<i class='"..severity.icon.."' style='color: "..severity.color.."!important' title='"..i18n(severity.i18n_title).."'></i> "
elseif severity and no_html then
severity_label = severity.i18n_title
end