summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-01-20 18:06:47 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-01-20 18:06:59 +0600
commit0f55e9c964f437368eb5eb94d92ad6d4cb375509 (patch)
tree468cc79942e00c6b36649e9896325df06ad6e0a1 /sonar-server
parentf057b61510937ea4a58e400e167a6637d12fb9a2 (diff)
downloadsonarqube-0f55e9c964f437368eb5eb94d92ad6d4cb375509.tar.gz
sonarqube-0f55e9c964f437368eb5eb94d92ad6d4cb375509.zip
New Issues Page: Show comments
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb13
1 files changed, 10 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb
index db76ab17fbf..f520172f677 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail.hbs.erb
@@ -15,9 +15,6 @@
{{severityIcon severity}}&nbsp;<span class="rulename">{{rule.name}}</span>
</div>
- <div class="issue-changelog" id="issue-changelog" style="display: none"></div>
- <div class="issue-technicaldebt" id="issue-technicaldebt" style="display: none"></div>
-
<div class="code-issue-msg">{{{message}}}</div>
<div class="code-issue-details">
@@ -106,6 +103,16 @@
</div>
</div>
+ {{#each comments}}
+ <div class="code-issue-comment" data-comment-key="{{key}}">
+ <h4>
+ <%= image_tag('reviews/comment.png') -%> &nbsp;<b>{{login}}</b>
+ ({{fromNow createdAt}})
+ </h4>
+ {{{htmlText}}}
+ </div>
+ {{/each}}
+
<div class="code-issue-actions">
<a href="#" onclick="return issueForm('comment', this)" class="link-action spacer-right" autofocus="">Comment</a>