diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-06-19 11:54:50 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-06-19 11:54:50 +0600 |
commit | b373de2d0cc912708315b2ce45b6b48e9bda6849 (patch) | |
tree | d9fcc8cd3629153c1d0867e7f017c326d0449b2a /sonar-server/src/main/hbs | |
parent | fdfa664d0e54fc56a3f86de41d30d3437cbbc1c0 (diff) | |
download | sonarqube-b373de2d0cc912708315b2ce45b6b48e9bda6849.tar.gz sonarqube-b373de2d0cc912708315b2ce45b6b48e9bda6849.zip |
SONAR-5209 Add ability to create manual issues
Diffstat (limited to 'sonar-server/src/main/hbs')
-rw-r--r-- | sonar-server/src/main/hbs/issues/manual-issue.hbs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sonar-server/src/main/hbs/issues/manual-issue.hbs b/sonar-server/src/main/hbs/issues/manual-issue.hbs index bb6fcc105c4..5c567daeac3 100644 --- a/sonar-server/src/main/hbs/issues/manual-issue.hbs +++ b/sonar-server/src/main/hbs/issues/manual-issue.hbs @@ -14,13 +14,10 @@ <input type="hidden" name="component" value="{{component}}"> <div class="code-issue-name"> - {{! TODO: replace mock data }} <select name="rule"> - <option value="manual:api">API</option> - <option value="manual:design">Design</option> - <option value="manual:error_handling">Error handling</option> - <option value="manual:performance">Performance</option> - <option value="manual:sql_pitfalls">SQL Pitfall</option> + {{#each rules}} + <option value="{{key}}">{{name}}</option> + {{/each}} </select> </div> |