diff --git a/CHANGES.md b/CHANGES.md index 9f337cb2..84d4a63b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -33,6 +33,7 @@ * Add text "[paused]" where appropriate to shows on layout Day by Day on Episodes page * Change Epsiodes page auto refresh from 10 to 30 mins * Add UI tweaks +* Fix progress bars disappearing on home page ### 0.5.0 (2014-12-21 11:40:00 UTC) diff --git a/gui/slick/interfaces/default/home.tmpl b/gui/slick/interfaces/default/home.tmpl index 41ec20cc..f1cf254b 100644 --- a/gui/slick/interfaces/default/home.tmpl +++ b/gui/slick/interfaces/default/home.tmpl @@ -366,13 +366,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<60) { classtoadd = "progress-40" } - if (classvalue>40 && classvalue<80) { + if (classvalue>=40 && classvalue<80) { classtoadd = "progress-60" } - if (classvalue>80) { + if (classvalue>=80) { classtoadd = "progress-80" } \$("\#progressbar$curShow.indexerid > .ui-progressbar-value").addClass(classtoadd); @@ -596,13 +596,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<60) { classtoadd = "progress-40" } - if (classvalue>40 && classvalue<80) { + if (classvalue>=40 && classvalue<80) { classtoadd = "progress-60" } - if (classvalue>80) { + if (classvalue>=80) { classtoadd = "progress-80" } \$("\#progressbar$curShow.indexerid > .ui-progressbar-value").addClass(classtoadd);