summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/hbs/component-viewer/source.hbs
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-06-11 11:30:59 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-06-11 11:30:59 +0600
commit9f554d25b41e445559f432f356d538ec04442c92 (patch)
treebbcf9048f50526b048a2a812074b54677e1898ae /sonar-server/src/main/hbs/component-viewer/source.hbs
parente9269c049b45e4c54c87d31697b1345ec68d79f1 (diff)
downloadsonarqube-9f554d25b41e445559f432f356d538ec04442c92.tar.gz
sonarqube-9f554d25b41e445559f432f356d538ec04442c92.zip
SONAR-5209 SCM, coverage time changes
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 7f290b8cbc2..b4f9c67709f 100644
--- a/sonar-server/src/main/hbs/component-viewer/source.hbs
+++ b/sonar-server/src/main/hbs/component-viewer/source.hbs
@@ -30,8 +30,10 @@
{{#if ../../settings.scm}}
<td class="stat {{#if scm}}scm{{/if}}">
{{#if scm}}
- <span class="scm-date">{{scm.date}}</span>
- <span class="scm-author" title="{{scm.author}}">{{scm.author}}</span>
+ {{#ifSCMChanged ../../../../source ../../../lineNumber}}
+ <span class="scm-date">{{scm.date}}</span>
+ <span class="scm-author" title="{{scm.author}}">{{scm.author}}</span>
+ {{/ifSCMChanged}}
{{/if}}
</td>
{{/if}}