From: simonbrandhof Date: Tue, 9 Nov 2010 10:36:39 +0000 (+0000) Subject: fix rendering issue of the rules widget on Google Chrome/Safari X-Git-Tag: 2.6~613 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=063bf16933206d505910e0c65d2571a73eaba1a5;p=sonarqube.git fix rendering issue of the rules widget on Google Chrome/Safari --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb index 84b09712b35..ed5aa6e43da 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb @@ -56,6 +56,7 @@
<%= format_measure(Metric::VIOLATIONS, :url => url_for(:controller => 'drilldown', :action => 'violations', :id => @project.key)) -%> <%= tendency_icon(Metric::VIOLATIONS) -%>
+ <% blocker_violations = @snapshot.measure(Metric::BLOCKER_VIOLATIONS) critical_violations = @snapshot.measure(Metric::CRITICAL_VIOLATIONS) @@ -67,7 +68,7 @@ max = m.value if m and m.value and m.value>max end %> - +
@@ -124,7 +125,6 @@
<%= image_tag 'priority/BLOCKER.png'%>  <%= link_to 'Blocker', {:controller => 'drilldown', :action => 'violations', :id => @project.key, :priority => 'BLOCKER'} %>
-