From 221d50c8bd944179a9ab17534816d5ae9578096a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Aubert?= Date: Thu, 9 Mar 2017 16:14:10 +0100 Subject: [PATCH] SONAR-8815 Specify the operator on projects page facets (#1763) --- server/sonar-web/src/main/js/helpers/ratings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/sonar-web/src/main/js/helpers/ratings.js b/server/sonar-web/src/main/js/helpers/ratings.js index 705c61d0b1e..9cdd220c127 100644 --- a/server/sonar-web/src/main/js/helpers/ratings.js +++ b/server/sonar-web/src/main/js/helpers/ratings.js @@ -26,7 +26,7 @@ const checkNumberRating = coverageRating => { export const getCoverageRatingLabel = rating => { checkNumberRating(rating); - const mapping = ['> 80%', '< 80%', '< 70%', '< 50%', '< 30%']; + const mapping = ['≥ 80%', '< 80%', '< 70%', '< 50%', '< 30%']; return mapping[rating - 1]; }; @@ -39,7 +39,7 @@ export const getCoverageRatingAverageValue = rating => { export const getDuplicationsRatingLabel = rating => { checkNumberRating(rating); - const mapping = ['< 3%', '> 3%', '> 5%', '> 10%', '> 20%']; + const mapping = ['< 3%', '≥ 3%', '> 5%', '> 10%', '> 20%']; return mapping[rating - 1]; }; @@ -52,7 +52,7 @@ export const getDuplicationsRatingAverageValue = rating => { export const getSizeRatingLabel = rating => { checkNumberRating(rating); - const mapping = ['< 1k', '> 1k', '> 10k', '> 100k', '> 500k']; + const mapping = ['< 1k', '≥ 1k', '> 10k', '> 100k', '> 500k']; return mapping[rating - 1]; }; -- 2.39.5