From 85569f8829d89b53b3e32d0321dba9b62b0d00eb Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Wed, 25 Jan 2012 10:11:50 +0100 Subject: [PATCH] SONAR-3012 Improvements --- .../core/widgets/reviews/reviews_metrics.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_metrics.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_metrics.html.erb index 4403de98ad9..0adeba1c0bd 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_metrics.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/reviews_metrics.html.erb @@ -13,15 +13,15 @@

<%= message('widget.reviews_metrics.active_reviews') -%>

<% if active_reviews %>

- <%= format_measure(active_reviews, :suffix => '', :url => url_for_drilldown(active_reviews)) -%> + <%= format_measure(active_reviews, :suffix => '', :url => url_for_drilldown(active_reviews)) -%>  <%= dashboard_configuration.selected_period? ? format_variation(active_reviews) : trend_icon(active_reviews) -%>

- <%= format_measure(unassigned_reviews, :suffix => message('widget.reviews_metrics.unassigned.suffix'), :url => url_for_drilldown(unassigned_reviews)) -%> + <%= format_measure(unassigned_reviews, :suffix => message('widget.reviews_metrics.unassigned.suffix'), :url => url_for_drilldown(unassigned_reviews)) -%>  <%= dashboard_configuration.selected_period? ? format_variation(unassigned_reviews) : trend_icon(unassigned_reviews) -%>

- <%= format_measure(unplanned_reviews, :suffix => message('widget.reviews_metrics.unplanned.suffix'), :url => url_for_drilldown(unplanned_reviews)) -%> + <%= format_measure(unplanned_reviews, :suffix => message('widget.reviews_metrics.unplanned.suffix'), :url => url_for_drilldown(unplanned_reviews)) -%>  <%= dashboard_configuration.selected_period? ? format_variation(unplanned_reviews) : trend_icon(unplanned_reviews) -%>

<% else %> @@ -35,15 +35,15 @@

<%= message('widget.reviews_metrics.unreviewed_violations') -%>

<% if unreviewed_violations %>

- <%= format_measure(unreviewed_violations, :suffix => '', :url => url_for_drilldown(unreviewed_violations)) -%> + <%= format_measure(unreviewed_violations, :suffix => '', :url => url_for_drilldown(unreviewed_violations)) -%>  <%= dashboard_configuration.selected_period? ? format_variation(unreviewed_violations) : trend_icon(unreviewed_violations) -%> <% if new_unreviewed_violations && @dashboard_configuration.selected_period? %>
- <%= message('widget.reviews_metrics.on_new_code') -%> - <%= format_variation(new_unreviewed_violations, :style => 'none', :default => '-') -%> + <%= message('widget.reviews_metrics.on_new_code') -%>  + <%= format_variation(new_unreviewed_violations, :style => 'none', :default => '-') -%> <% end %>

@@ -54,7 +54,7 @@

<%= message('widget.reviews_metrics.false_positives') -%>

<% if false_positive_reviews %>

- <%= format_measure(false_positive_reviews, :suffix => '', :url => url_for_drilldown(false_positive_reviews)) -%> + <%= format_measure(false_positive_reviews, :suffix => '', :url => url_for_drilldown(false_positive_reviews)) -%>  <%= dashboard_configuration.selected_period? ? format_variation(false_positive_reviews) : trend_icon(false_positive_reviews) -%>

<% else %> -- 2.39.5