aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-01-31 18:19:09 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-01-31 18:19:09 +0600
commitbef5ca80e046db319730a386f81c2766d2b49b99 (patch)
tree92551263fda11e2a0e16d72958f1927f58f68e80 /sonar-server
parentf152ab27047ef5e7b0237c3dbdb37f8df90cfa39 (diff)
downloadsonarqube-bef5ca80e046db319730a386f81c2766d2b49b99.tar.gz
sonarqube-bef5ca80e046db319730a386f81c2766d2b49b99.zip
New Issues Page: add characteristic and sub-characteristic
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb13
1 files changed, 12 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb
index 9bee4f6cec6..a2fb401623b 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb
@@ -56,7 +56,18 @@
{{#if debt}}
<li>
<div class="code-issue-details-term"><%= message('issue.technical_debt_clear') -%></div>
- <div class="code-issue-details-value">{{debt}}</div>
+ <div class="code-issue-details-value">
+ {{debt}}
+ {{#if characteristic}}
+ {{#if subCharacteristic}}
+ - {{characteristic}} > {{subCharacteristic}}
+ {{else}}
+ <br><%= message('issue.technical_debt_deleted') -%>
+ {{/if}}
+ {{else}}
+ <br><%= message('issue.technical_debt_deleted') -%>
+ {{/if}}
+ </div>
</li>
{{/if}}
{{# if reporter}}