Bug 423137: Switch to use 0-5 for add-on ratings. r=robstrong

This commit is contained in:
dtownsend@oxymoronical.com 2008-03-18 12:44:59 -07:00
Родитель 0eaa256728
Коммит 4618975119
4 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -67,7 +67,7 @@ interface nsIAddonSearchResult : nsISupports
readonly attribute AString description;
/**
* The rating of the add-on, 0-10 or -1 if unrated.
* The rating of the add-on, 0-5 or -1 if unrated.
*/
readonly attribute long rating;

Просмотреть файл

@ -281,23 +281,23 @@ richlistitem[opType="needs-uninstall"] .notifyBadge {
-moz-image-region: rect(0px 70px 14px 0px);
}
.addonRating[rating="1"], .addonRating[rating="2"] {
.addonRating[rating="1"] {
-moz-image-region: rect(14px 70px 28px 0px);
}
.addonRating[rating="3"], .addonRating[rating="4"] {
.addonRating[rating="2"] {
-moz-image-region: rect(28px 70px 42px 0px);
}
.addonRating[rating="5"], .addonRating[rating="6"] {
.addonRating[rating="3"] {
-moz-image-region: rect(42px 70px 56px 0px);
}
.addonRating[rating="7"], .addonRating[rating="8"] {
.addonRating[rating="4"] {
-moz-image-region: rect(56px 70px 70px 0px);
}
.addonRating[rating="9"], .addonRating[rating="10"] {
.addonRating[rating="5"] {
-moz-image-region: rect(70px 70px 84px 0px);
}

Просмотреть файл

@ -278,23 +278,23 @@ richlistitem[opType="needs-uninstall"] .notifyBadge {
-moz-image-region: rect(0px 68px 12px 0px);
}
.addonRating[rating="1"], .addonRating[rating="2"] {
.addonRating[rating="1"] {
-moz-image-region: rect(12px 68px 24px 0px);
}
.addonRating[rating="3"], .addonRating[rating="4"] {
.addonRating[rating="2"] {
-moz-image-region: rect(24px 68px 36px 0px);
}
.addonRating[rating="5"], .addonRating[rating="6"] {
.addonRating[rating="3"] {
-moz-image-region: rect(36px 68px 48px 0px);
}
.addonRating[rating="7"], .addonRating[rating="8"] {
.addonRating[rating="4"] {
-moz-image-region: rect(48px 68px 60px 0px);
}
.addonRating[rating="9"], .addonRating[rating="10"] {
.addonRating[rating="5"] {
-moz-image-region: rect(60px 68px 72px 0px);
}

Просмотреть файл

@ -272,23 +272,23 @@ richlistitem[opType="needs-uninstall"] .notifyBadge {
-moz-image-region: rect(0px 63px 11px 0px);
}
.addonRating[rating="1"], .addonRating[rating="2"] {
.addonRating[rating="1"] {
-moz-image-region: rect(11px 63px 22px 0px);
}
.addonRating[rating="3"], .addonRating[rating="4"] {
.addonRating[rating="2"] {
-moz-image-region: rect(22px 63px 33px 0px);
}
.addonRating[rating="5"], .addonRating[rating="6"] {
.addonRating[rating="3"] {
-moz-image-region: rect(33px 63px 44px 0px);
}
.addonRating[rating="7"], .addonRating[rating="8"] {
.addonRating[rating="4"] {
-moz-image-region: rect(44px 63px 55px 0px);
}
.addonRating[rating="9"], .addonRating[rating="10"] {
.addonRating[rating="5"] {
-moz-image-region: rect(55px 63px 66px 0px);
}