summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/hbs/component-viewer/source.hbs
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-06-17 12:35:35 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-06-17 12:35:35 +0600
commit4dfa0fd51b4859e8b80f89fa2ecd72a66cfb4291 (patch)
tree648acbace58863169fa3b7356ec5c0381aec31e3 /sonar-server/src/main/hbs/component-viewer/source.hbs
parentcf74418e5ad4f7972a05953981905457a38e0fbe (diff)
downloadsonarqube-4dfa0fd51b4859e8b80f89fa2ecd72a66cfb4291.tar.gz
sonarqube-4dfa0fd51b4859e8b80f89fa2ecd72a66cfb4291.zip
SONAR-5209 Issues drilldown integration
Diffstat (limited to 'sonar-server/src/main/hbs/component-viewer/source.hbs')
-rw-r--r--sonar-server/src/main/hbs/component-viewer/source.hbs30
1 files changed, 16 insertions, 14 deletions
diff --git a/sonar-server/src/main/hbs/component-viewer/source.hbs b/sonar-server/src/main/hbs/component-viewer/source.hbs
index 938afe0a446..25d0a4e3e3d 100644
--- a/sonar-server/src/main/hbs/component-viewer/source.hbs
+++ b/sonar-server/src/main/hbs/component-viewer/source.hbs
@@ -1,18 +1,20 @@
<table class="code">
- <tr class="row row-hidden" data-line-number="0">
- {{#if settings.coverage}}
- <td class="stat coverage-tests"></td>
- <td class="stat coverage-conditions"></td>
- {{/if}}
- {{#if settings.duplications}}
- <td class="stat"></td>
- {{/if}}
- {{#if settings.scm}}
- <td class="stat"></td>
- {{/if}}
- <td class="stat lid"></td>
- <td class="line"></td>
- </tr>
+ {{#if showZeroLine}}
+ <tr class="row row-hidden" data-line-number="0">
+ {{#if settings.coverage}}
+ <td class="stat coverage-tests"></td>
+ <td class="stat coverage-conditions"></td>
+ {{/if}}
+ {{#if settings.duplications}}
+ <td class="stat"></td>
+ {{/if}}
+ {{#if settings.scm}}
+ <td class="stat"></td>
+ {{/if}}
+ <td class="stat lid"></td>
+ <td class="line"></td>
+ </tr>
+ {{/if}}
{{#each source}}
{{#if show}}