summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/hbs/component-viewer/source.hbs
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-06-20 15:08:58 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-06-20 15:09:07 +0600
commitd681b75f03f1eb59e9d9ff2bb224c0f759a0ec1a (patch)
treedf73b235d4eef7a707f9d4218c7dd10c68ed4220 /sonar-server/src/main/hbs/component-viewer/source.hbs
parent3151114b7214c1aa56ce81d9ab2a3072feebf00b (diff)
downloadsonarqube-d681b75f03f1eb59e9d9ff2bb224c0f759a0ec1a.tar.gz
sonarqube-d681b75f03f1eb59e9d9ff2bb224c0f759a0ec1a.zip
SONAR-5209 Manual issues feedback
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, 5 insertions, 1 deletions
diff --git a/sonar-server/src/main/hbs/component-viewer/source.hbs b/sonar-server/src/main/hbs/component-viewer/source.hbs
index ba9fc1444ec..616ee4608e1 100644
--- a/sonar-server/src/main/hbs/component-viewer/source.hbs
+++ b/sonar-server/src/main/hbs/component-viewer/source.hbs
@@ -60,7 +60,11 @@
</td>
{{/if}}
- <td class="stat lid js-line-actions">{{lineNumber}}</td>
+ {{#if ../../state.canCreateManualIssue}}
+ <td class="stat lid js-line-actions" title="{{t 'component_viewer.line_actions'}}">{{lineNumber}}</td>
+ {{else}}
+ <td class="stat lid js-line-actions">{{lineNumber}}</td>
+ {{/if}}
<td class="line"><pre>{{{code}}}</pre></td>
</tr>