From a2ebf58fb0c4d40cd4cc52cfe419cf235872527b Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 6 Feb 2014 15:54:52 +0600 Subject: [PATCH] New Issues Page: move technical debt/author/reporter to the actions bar --- .../resources/org/sonar/l10n/core.properties | 2 +- .../templates/_issue_detail_inner.hbs.erb | 19 +++++++------------ .../src/main/webapp/stylesheets/style.css | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index b4c4a6c9038..e5a9696f498 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -583,7 +583,7 @@ issue.reported_by=Reported by issue.authorLogin=Author: issue.component_deleted=Removed issue.technical_debt=Technical Debt: -issue.technical_debt_clear=Technical Debt +issue.technical_debt_short=Debt issue.technical_debt.x_days={0} days issue.technical_debt.x_hours={0} hours issue.technical_debt.x_minutes={0} minutes 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}} {{message}} - {{#if debt}} -
<%= message('issue.technical_debt') -%> {{debt}}
- {{/if}} - - {{#any reporterName author}} - - {{/any}} - @@ -109,6 +97,13 @@ {{/ifHasExtraActions}} + + {{#if debt}} +
  • <%= message('issue.technical_debt_short') -%>: {{debt}}
  • + {{/if}} + + {{#if reporterName}}
  • <%= message('reporter') -%>: {{reporterName}}
  • {{/if}} + {{#if author}}
  • <%= message('author') -%>: {{author}}
  • {{/if}}
    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; -- 2.39.5