]> source.dussan.org Git - sonarqube.git/commitdiff
New Issues Page: move technical debt/author/reporter to the actions bar
authorStas Vilchik <vilchiks@gmail.com>
Thu, 6 Feb 2014 09:54:52 +0000 (15:54 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 6 Feb 2014 09:55:00 +0000 (15:55 +0600)
plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb
sonar-server/src/main/webapp/stylesheets/style.css

index b4c4a6c90383399dfaaf993452e41fb0f661097b..e5a9696f4989befdcb274f5613c773c402ada932 100644 (file)
@@ -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
index 2dde26e37c3282465ad0159a9adb7606c6d091d8..1609182eb0042e581f2487abdeee9f405f1eff54 100644 (file)
@@ -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>
           </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>
index 880976029e847827c4812f4c939d50a6d2571ef4..a442dd7da10302f4ae3904b628dd3a88bfdf0597 100644 (file)
@@ -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;