aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-01-26 10:12:34 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-01-26 10:31:28 +0100
commit18d61d0549de9c3a0846ee35b2ba38548be68c2d (patch)
treec370e6715d4f1002109ca40b73cfa092296418ab
parent88b00de9ae983d87e3ac13fb44e5fe1e4af26e91 (diff)
downloadsonarqube-18d61d0549de9c3a0846ee35b2ba38548be68c2d.tar.gz
sonarqube-18d61d0549de9c3a0846ee35b2ba38548be68c2d.zip
SONAR-5966 update issue box
-rw-r--r--server/sonar-web/src/main/coffee/issue/issue-view.coffee2
-rw-r--r--server/sonar-web/src/main/hbs/issue/issue.hbs7
-rw-r--r--server/sonar-web/src/main/less/components/issues.less2
3 files changed, 4 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/coffee/issue/issue-view.coffee b/server/sonar-web/src/main/coffee/issue/issue-view.coffee
index a8e09a3ca4d..96183201830 100644
--- a/server/sonar-web/src/main/coffee/issue/issue-view.coffee
+++ b/server/sonar-web/src/main/coffee/issue/issue-view.coffee
@@ -141,7 +141,7 @@ define [
$('body').click()
@popup = new CommentFormView
triggerEl: $(e.currentTarget)
- bottomRight: true
+ bottom: true
issue: @model
detailView: @
@popup.render()
diff --git a/server/sonar-web/src/main/hbs/issue/issue.hbs b/server/sonar-web/src/main/hbs/issue/issue.hbs
index 0c23a0576c4..2eedfcdcc52 100644
--- a/server/sonar-web/src/main/hbs/issue/issue.hbs
+++ b/server/sonar-web/src/main/hbs/issue/issue.hbs
@@ -1,10 +1,7 @@
<table class="issue-table">
<tr>
<td>
- <div class="issue-message">{{message}}</div>
- <div class="issue-message">
- <a class="issue-rule js-issue-rule">{{ruleName}}</a>
- </div>
+ <div class="issue-message">{{message}} <a class="issue-rule js-issue-rule">{{t 'rule'}}</a></div>
</td>
<td class="issue-table-meta-cell">
@@ -93,7 +90,7 @@
{{#inArray actions "comment"}}
<div class="issue-meta">
<a class="issue-action js-issue-comment"><span
- class="issue-meta-label"><i class="icon-comment"></i></span></a>
+ class="issue-meta-label">{{t 'issue.comment.formlink' }}</span></a>
</div>
{{/inArray}}
diff --git a/server/sonar-web/src/main/less/components/issues.less b/server/sonar-web/src/main/less/components/issues.less
index 6db3500bfb8..8a3d2422246 100644
--- a/server/sonar-web/src/main/less/components/issues.less
+++ b/server/sonar-web/src/main/less/components/issues.less
@@ -233,7 +233,7 @@ input.issue-action-options-search {
}
.issue-comment-bubble-popup {
- width: 540px;
+ width: 440px;
font-size: @smallFontSize;
}