]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3235 Make the numbers non breakable on the hotspot widgets
authorFabrice Bellingard <bellingard@gmail.com>
Fri, 3 Feb 2012 16:44:44 +0000 (17:44 +0100)
committerFabrice Bellingard <bellingard@gmail.com>
Fri, 3 Feb 2012 16:44:44 +0000 (17:44 +0100)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_metric.html.erb
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb
plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/newviolations/NewViolationsTemplateTest.java

index 47368a29e23fad0cc2b236bdd9bb9abc15bb5938..48935341c989eb05a2ee4fab023726c634c5ed02 100644 (file)
@@ -66,7 +66,7 @@
         <td>
           <%= link_to_resource(resource, resource.name, {:metric => metric.name}) -%>
         </td>
-        <td class="right">
+        <td class="right nowrap">
           <%= format_measure(measure) -%>
         </td>
         <td class="barchart">
index 988f6c606c6c7631181689705e1988409d0d3f73..06e73423ad1dde47d0bf3c42c4f0171780206485 100644 (file)
@@ -86,7 +86,7 @@
                   <%= h rule.name -%>
                 </a>
               </td>
-              <td class="right">
+              <td class="right nowrap">
                 <%= dashboard_configuration.selected_period? ? format_variation(m) : format_measure(m) -%>
               </td>
               <td class="barchart">
index ed065d1ccee2b5b5d2352b2c8d545605dad61649..3e4627629823c7b296623907c3f439465cea0fb3 100644 (file)
@@ -51,19 +51,14 @@ public class NewViolationsTemplateTest {
 
   /**
    * <pre>
-   * Subject: Review #1
-   * From: Freddy Mallet
+   * Subject: New violations for project Foo
+   * From: Sonar
    * 
-   * Project: Sonar
-   * Resource: org.sonar.server.ui.DefaultPages
-   * 
-   * Utility classes should not have a public or default constructor.
-   * 
-   * Comment:
-   *   This is my first comment
+   * Project: Foo
+   * New violations on last analysis: 32
    * 
    * --
-   * See it in Sonar: http://nemo.sonarsource.org/review/view/1
+   * See it in Sonar: http://nemo.sonarsource.org/drilldown/measures/org.sonar.foo:foo?metric=new_violations&period=2
    * </pre>
    */
   @Test