aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-02-06 15:54:52 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-02-06 15:55:00 +0600
commita2ebf58fb0c4d40cd4cc52cfe419cf235872527b (patch)
treea1611db59aee91bd616ac767fe74b47e51ebfbb5 /sonar-server/src/main/webapp
parent2a5636f428191726dd17275881d56638f6e088e5 (diff)
downloadsonarqube-a2ebf58fb0c4d40cd4cc52cfe419cf235872527b.tar.gz
sonarqube-a2ebf58fb0c4d40cd4cc52cfe419cf235872527b.zip
New Issues Page: move technical debt/author/reporter to the actions bar
Diffstat (limited to 'sonar-server/src/main/webapp')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb19
-rw-r--r--sonar-server/src/main/webapp/stylesheets/style.css2
2 files changed, 8 insertions, 13 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 2dde26e37c3..1609182eb00 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
@@ -5,18 +5,6 @@
{{severityIcon severity}}&nbsp;<span class="rulename">{{message}}</span>
</div>
- {{#if debt}}
- <div class="code-issue-name-right"
- title="{{#all characteristic subCharacteristic}}{{characteristic}} > {{subCharacteristic}}{{else}}<%= message('issue.technical_debt_deleted') -%>{{/all}}"><%= message('issue.technical_debt') -%> {{debt}}</div>
- {{/if}}
-
- {{#any reporterName author}}
- <ul class="code-issue-name-extra code-issue-list">
- {{#if reporterName}}<li><%= message('reporter') -%>: {{reporterName}}</li>{{/if}}
- {{#if author}}<li><%= message('author') -%>: {{author}}</li>{{/if}}
- </ul>
- {{/any}}
-
<div class="code-issue-permalink">
<a target="_blank" href="<%= ApplicationController.root_context -%>/issue/show/{{key}}?layout=false"><img src="<%= ApplicationController.root_context -%>/images/new-window-16.gif"></a>
</div>
@@ -109,6 +97,13 @@
</div>
</li>
{{/ifHasExtraActions}}
+
+ {{#if debt}}
+ <li title="{{#all characteristic subCharacteristic}}{{characteristic}} > {{subCharacteristic}}{{else}}<%= message('issue.technical_debt_deleted') -%>{{/all}}"><%= message('issue.technical_debt_short') -%>: {{debt}}</li>
+ {{/if}}
+
+ {{#if reporterName}}<li><%= message('reporter') -%>: {{reporterName}}</li>{{/if}}
+ {{#if author}}<li><%= message('author') -%>: {{author}}</li>{{/if}}
</ul>
<div class="code-issue-form"></div>
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css
index 880976029e8..a442dd7da10 100644
--- a/sonar-server/src/main/webapp/stylesheets/style.css
+++ b/sonar-server/src/main/webapp/stylesheets/style.css
@@ -829,7 +829,7 @@ th.operations, td.operations {
}
.code-issue-name-rule {
- max-width: 70%;
+ max-width: 90%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;