diff options
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> |