summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/hbs/component-viewer/source.hbs
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-05-26 13:23:15 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-05-26 13:23:15 +0600
commitbf7918a5968903abf7fce1d92fbb4ea40ae5767b (patch)
tree6409c789910b7c48806f810ce4cb50b292b0282b /sonar-server/src/main/hbs/component-viewer/source.hbs
parent28d8c4a2241b3590bd23f1e6662cb397285d70dc (diff)
downloadsonarqube-bf7918a5968903abf7fce1d92fbb4ea40ae5767b.tar.gz
sonarqube-bf7918a5968903abf7fce1d92fbb4ea40ae5767b.zip
SONAR-5209 Apply feedback on coverage
Diffstat (limited to 'sonar-server/src/main/hbs/component-viewer/source.hbs')
-rw-r--r--sonar-server/src/main/hbs/component-viewer/source.hbs6
1 files changed, 4 insertions, 2 deletions
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>