diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-05-26 13:23:15 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-05-26 13:23:15 +0600 |
commit | bf7918a5968903abf7fce1d92fbb4ea40ae5767b (patch) | |
tree | 6409c789910b7c48806f810ce4cb50b292b0282b /sonar-server/src/main/hbs/component-viewer | |
parent | 28d8c4a2241b3590bd23f1e6662cb397285d70dc (diff) | |
download | sonarqube-bf7918a5968903abf7fce1d92fbb4ea40ae5767b.tar.gz sonarqube-bf7918a5968903abf7fce1d92fbb4ea40ae5767b.zip |
SONAR-5209 Apply feedback on coverage
Diffstat (limited to 'sonar-server/src/main/hbs/component-viewer')
-rw-r--r-- | sonar-server/src/main/hbs/component-viewer/header/_coverage-header.hbs | 4 | ||||
-rw-r--r-- | sonar-server/src/main/hbs/component-viewer/source.hbs | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sonar-server/src/main/hbs/component-viewer/header/_coverage-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/_coverage-header.hbs index b33187f7952..5df42dc7565 100644 --- a/sonar-server/src/main/hbs/component-viewer/header/_coverage-header.hbs +++ b/sonar-server/src/main/hbs/component-viewer/header/_coverage-header.hbs @@ -7,7 +7,7 @@ {{{componentViewerHeaderItem coverage 'coverage'}}} {{{componentViewerHeaderItem line_coverage 'line_coverage'}}} {{{componentViewerHeaderLink lines_to_cover 'lines_to_cover' 'js-filter-lines-to-cover'}}} - {{{componentViewerHeaderLink covered_lines 'lines_to_cover' 'js-filter-covered-lines'}}} + {{{componentViewerHeaderLink covered_lines 'covered_lines' 'js-filter-covered-lines'}}} {{{componentViewerHeaderLink uncovered_lines 'uncovered_lines' 'js-filter-uncovered-lines'}}} </ul> </div> @@ -35,7 +35,7 @@ {{{componentViewerHeaderItem it_coverage 'coverage'}}} {{{componentViewerHeaderItem it_line_coverage 'line_coverage'}}} {{{componentViewerHeaderLink it_lines_to_cover 'lines_to_cover' 'js-filter-lines-to-cover-it'}}} - {{{componentViewerHeaderLink it_covered_lines 'lines_to_cover' 'js-filter-covered-lines-it'}}} + {{{componentViewerHeaderLink it_covered_lines 'covered_lines' 'js-filter-covered-lines-it'}}} {{{componentViewerHeaderLink it_uncovered_lines 'uncovered_lines' 'js-filter-uncovered-lines-it'}}} </ul> </div> diff --git a/sonar-server/src/main/hbs/component-viewer/source.hbs b/sonar-server/src/main/hbs/component-viewer/source.hbs index 52a6a6a9675..8260193e0e5 100644 --- a/sonar-server/src/main/hbs/component-viewer/source.hbs +++ b/sonar-server/src/main/hbs/component-viewer/source.hbs @@ -39,14 +39,16 @@ {{#if ../../settings.coverage}} <td class="stat coverage-tests {{#if coverage}}coverage-{{#if coverage.covered}}green{{else}}red{{/if}}{{/if}}"> {{#if coverage}} - <span>{{coverage.testCases}}</span> + <span title="{{tp 'coverage_viewer.line_covered_by_x_tests' coverage.testCases}}">{{coverage.testCases}}</span> {{/if}} </td> <td class="stat coverage-branches {{#if coverage}}{{#if coverage.branchCoverageStatus}}coverage-{{coverage.branchCoverageStatus}}{{/if}}{{/if}}"> {{#if coverage}} {{#if coverage.branches}} - <span>{{coverage.coveredBranches}}/{{coverage.branches}}</span> + <span title="{{tp 'coverage_viewer.x_covered_branches' coverage.coveredBranches}}"> + {{coverage.coveredBranches}}/{{coverage.branches}} + </span> {{/if}} {{/if}} </td> |