]> source.dussan.org Git - sonarqube.git/commitdiff
New Issues Page: update labels
authorStas Vilchik <vilchiks@gmail.com>
Tue, 4 Feb 2014 12:10:52 +0000 (18:10 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 4 Feb 2014 12:10:52 +0000 (18:10 +0600)
sonar-server/src/main/webapp/WEB-INF/app/views/issues/search.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue.hbs.erb

index 323d8885145e7e7edb6b45f0091a6c0109b77474..da0af92c124fedf8014eee52d5c4161f668f3ec0 100644 (file)
       'project':       '<%= escape_javascript message('issue_filter.criteria.project') -%>',
       'severity':      '<%= escape_javascript message('issue_filter.criteria.severity') -%>',
       'severities': {
-        blocker:       '<%= escape_javascript message('severity.BLOCKER') -%>',
-        critical:      '<%= escape_javascript message('severity.CRITICAL') -%>',
-        major:         '<%= escape_javascript message('severity.MAJOR') -%>',
-        minor:         '<%= escape_javascript message('severity.MINOR') -%>',
-        info:          '<%= escape_javascript message('severity.INFO') -%>'
+        BLOCKER:       '<%= escape_javascript message('severity.BLOCKER') -%>',
+        CRITICAL:      '<%= escape_javascript message('severity.CRITICAL') -%>',
+        MAJOR:         '<%= escape_javascript message('severity.MAJOR') -%>',
+        MINOR:         '<%= escape_javascript message('severity.MINOR') -%>',
+        INFO:          '<%= escape_javascript message('severity.INFO') -%>'
       },
       'status':        '<%= escape_javascript message('issue_filter.criteria.status') -%>',
       'statuses': {
index 5bd49e32e45e20aa9dacf9246dd8decc658a2793..550e1902959320ee6bab82beebd5ff7d85c95066 100644 (file)
@@ -1,9 +1,9 @@
 <script id="issue-template" type="text/x-handlebars-template">
   <div class="line line-small">
-      {{severityIcon severity}}{{capitalize severity}}&nbsp;
-      {{statusIcon status}}{{capitalize status}}
+      {{severityIcon severity}}{{translate "severities" severity}}&nbsp;
+      {{statusIcon status}}{{translate "statuses" status}}
       {{#if resolution}}
-        &nbsp;{{resolutionIcon resolution}}{{capitalize resolution}}
+        &nbsp;{{resolutionIcon resolution}}{{translate "resolutions" resolution}}
       {{/if}}
 
       <div class="line-right">