From 063bf16933206d505910e0c65d2571a73eaba1a5 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Tue, 9 Nov 2010 10:36:39 +0000 Subject: [PATCH] fix rendering issue of the rules widget on Google Chrome/Safari --- .../resources/org/sonar/plugins/core/widgets/rules.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'} %>
- -- 2.39.5