diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-03-08 17:35:01 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-03-10 10:44:17 +0100 |
commit | 5d1d0e52b2fcde16c3ff23adc6ea29752ee5cbd7 (patch) | |
tree | e8ccb68af0528607ba472f3b476612200d151713 /server/sonar-web/src | |
parent | b551bd6ef3f878f7b68acdf759b995e227e1baaa (diff) | |
download | sonarqube-5d1d0e52b2fcde16c3ff23adc6ea29752ee5cbd7.tar.gz sonarqube-5d1d0e52b2fcde16c3ff23adc6ea29752ee5cbd7.zip |
SONAR-7345 Rename Issue debt to effort in UI
Diffstat (limited to 'server/sonar-web/src')
3 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/templates/facets/issues-mode-facet.hbs b/server/sonar-web/src/main/js/apps/issues/templates/facets/issues-mode-facet.hbs index ea2f7433c8b..6e8ec1de40f 100644 --- a/server/sonar-web/src/main/js/apps/issues/templates/facets/issues-mode-facet.hbs +++ b/server/sonar-web/src/main/js/apps/issues/templates/facets/issues-mode-facet.hbs @@ -8,7 +8,7 @@ <li> <input type="radio" name="issues-page-mode" value="debt" id="issues-page-mode-debt" {{#eq mode 'debt'}}checked{{/eq}}> - <label for="issues-page-mode-debt">Debt</label> + <label for="issues-page-mode-debt">Effort</label> </li> </ul> </div> diff --git a/server/sonar-web/src/main/js/components/issue/templates/issue.hbs b/server/sonar-web/src/main/js/components/issue/templates/issue.hbs index 37a11c86c5c..c8d76d67734 100644 --- a/server/sonar-web/src/main/js/components/issue/templates/issue.hbs +++ b/server/sonar-web/src/main/js/components/issue/templates/issue.hbs @@ -111,7 +111,7 @@ {{#if debt}} <li class="issue-meta"> <span class="issue-meta-label"> - {{tp 'issue.x_debt' debt}} + {{tp 'issue.x_effort' debt}} </span> </li> {{/if}} diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/issue.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/issue.rb index 1af6920069a..75494d55757 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/issue.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/issue.rb @@ -34,7 +34,8 @@ class Issue hash[:message] = issue.message if issue.message hash[:line] = issue.line.to_i if issue.line hash[:effortToFix] = issue.effortToFix.to_f if issue.effortToFix - hash[:debt] = Internal.durations.encode(issue.debt) if issue.debt + hash[:debt] = Internal.durations.encode(issue.effort) if issue.effort + hash[:effort] = Internal.durations.encode(issue.effort) if issue.effort hash[:reporter] = issue.reporter if issue.reporter hash[:assignee] = issue.assignee if issue.assignee hash[:author] = issue.authorLogin if issue.authorLogin |