From ac07ba9ef23f7fb6747642fc6ccd8175b63b9759 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Fri, 8 Nov 2013 17:02:43 -0500 Subject: [PATCH 1/2] Remove registration indicator (will find something else) --- dashboard-ui/scripts/plugincatalogpage.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dashboard-ui/scripts/plugincatalogpage.js b/dashboard-ui/scripts/plugincatalogpage.js index 21724e72fd..c097485494 100644 --- a/dashboard-ui/scripts/plugincatalogpage.js +++ b/dashboard-ui/scripts/plugincatalogpage.js @@ -119,10 +119,6 @@ html += " " + plugin.totalRatings + " Reviews"; html += ""; - if (plugin.isPremium && plugin.isRegistered) { - html += " ®"; - } - html += ""; html += ""; From 1f62c4c18baa56ae5396b2014cc5fcb26b9f5841 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Sat, 9 Nov 2013 13:36:45 -0500 Subject: [PATCH 2/2] Fix rating star calc --- dashboard-ui/scripts/librarybrowser.js | 2 +- dashboard-ui/scripts/site.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index e7e7c37258..00e3313888 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1391,7 +1391,7 @@ var rating = item.CommunityRating / 2; for (var i = 1; i <= 5; i++) { - if (rating < i - 1) { + if (rating <= i - 1) { html += "
"; } else if (rating < i) { diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 038aec0580..09e6da4392 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -1152,7 +1152,7 @@ var Dashboard = { var title = noLinks ? rating + " stars" : "Rate " + i + (i > 1 ? " stars" : " star"); html += noLinks ? "" : ""; - if (rating < i - 1 || rating == 0) { + if (rating <= i - 1) { html += "
"; } else if (rating < i) { html += "
";