From 7e66871cb79c26393d1de380e899b065e9fabe4b Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 21 Apr 2011 22:49:50 -0700 Subject: [PATCH] fixed log colors --- NzbDrone.Web/Views/Log/Index.cshtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NzbDrone.Web/Views/Log/Index.cshtml b/NzbDrone.Web/Views/Log/Index.cshtml index f8aa1c182..6e81d393e 100644 --- a/NzbDrone.Web/Views/Log/Index.cshtml +++ b/NzbDrone.Web/Views/Log/Index.cshtml @@ -5,13 +5,13 @@ e.row.style.boarder = ""; - if (e.dataItem.Level == 3) { + if (e.dataItem.Level == "Warn") { e.row.style.backgroundColor = "#FFD700"; } - else if (e.dataItem.Level == 4) { + else if (e.dataItem.Level == "Error") { e.row.style.backgroundColor = "#FF7500"; } - else if (e.dataItem.Level == 5) { + else if (e.dataItem.Level == "Fatal") { e.row.style.backgroundColor = "black"; e.row.style.color = "red"; }