From f43bc62936745f33aafe1b09bf7aed58c6d9d5fa Mon Sep 17 00:00:00 2001 From: sn3akz Date: Tue, 6 Jan 2015 20:02:22 +0100 Subject: [PATCH] Fix for sickragetv/sickrage-issues#303 --- gui/slick/interfaces/default/home.tmpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gui/slick/interfaces/default/home.tmpl b/gui/slick/interfaces/default/home.tmpl index 97a90589..49b3af7b 100644 --- a/gui/slick/interfaces/default/home.tmpl +++ b/gui/slick/interfaces/default/home.tmpl @@ -356,13 +356,13 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name)) if (classvalue<20) { classtoadd = "progress-20" } - if (classvalue>20 && classvalue<60) { + if (classvalue>=20 && classvalue<40) { classtoadd = "progress-40" } - if (classvalue>40 && classvalue<80) { + if (classvalue>=40 && classvalue<80) { classtoadd = "progress-60" } - if (classvalue>80) { + if (classvalue>=80 && classvalue<100) { classtoadd = "progress-80" } if (classvalue==100) { @@ -589,13 +589,13 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name)) if (classvalue<20) { classtoadd = "progress-20" } - if (classvalue>20 && classvalue<60) { + if (classvalue>=20 && classvalue<40) { classtoadd = "progress-40" } - if (classvalue>40 && classvalue<80) { + if (classvalue>=40 && classvalue<80) { classtoadd = "progress-60" } - if (classvalue>80) { + if (classvalue>=80 && classvalue<100) { classtoadd = "progress-80" } if (classvalue==100) {