diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-06-20 15:08:58 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-06-20 15:09:07 +0600 |
commit | d681b75f03f1eb59e9d9ff2bb224c0f759a0ec1a (patch) | |
tree | df73b235d4eef7a707f9d4218c7dd10c68ed4220 /sonar-server/src/main/hbs/component-viewer/source.hbs | |
parent | 3151114b7214c1aa56ce81d9ab2a3072feebf00b (diff) | |
download | sonarqube-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.hbs | 6 |
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> |