diff options
author | Grégoire Aubert <gregaubert@users.noreply.github.com> | 2017-03-09 16:14:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 16:14:10 +0100 |
commit | 221d50c8bd944179a9ab17534816d5ae9578096a (patch) | |
tree | f93b7bcb6de4c47d80d83d7e13c18affd83d427a /server/sonar-web/src/main/js/helpers | |
parent | cb644767c6e0495ec97e2aa423b273d8486433cc (diff) | |
download | sonarqube-221d50c8bd944179a9ab17534816d5ae9578096a.tar.gz sonarqube-221d50c8bd944179a9ab17534816d5ae9578096a.zip |
SONAR-8815 Specify the operator on projects page facets (#1763)
Diffstat (limited to 'server/sonar-web/src/main/js/helpers')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/ratings.js | 6 |
1 files 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]; }; |