From f90ef17c9a5226a699b4bc4316d9626b92940c0a Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Tue, 4 Mar 2014 18:42:10 +0100 Subject: SONAR-5086 Add commonentRoots parameter to links on action plan progress bar --- .../core/widgets/issues/action_plans.html.erb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins') diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/action_plans.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/action_plans.html.erb index 8e1a42e73a0..cb5b925d041 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/action_plans.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/action_plans.html.erb @@ -14,7 +14,7 @@ <% end %> - +

<%= message('widget.action_plans.title') -%>

@@ -25,7 +25,7 @@ <%= message('widget.action_plans.no_action_plan') -%> -<% +<% else show_resolved_issues = widget_properties["showResolvedIssues"] if show_resolved_issues @@ -33,7 +33,7 @@ else line_class = "middle" max_unresolved_issues = open_action_plans.map {|plan| plan.unresolvedIssues()}.max - end + end %> @@ -49,7 +49,7 @@ "action_plan_" + widget.id.to_s) -%>"> - + <% if show_resolved_issues %> <% if plan.totalIssues()==0 %> @@ -58,7 +58,7 @@ <%= render :partial => 'action_plans/progress', :locals => {:action_plan => plan} -%> <% end %> - <% + <% else unresolved_issues_size = plan.unresolvedIssues() %> @@ -66,7 +66,7 @@ <% if unresolved_issues_size == 0 %> <%= unresolved_issues_size -%> <% else %> - <%= unresolved_issues_size -%> <% end %> @@ -76,16 +76,16 @@ <% end %> - + - <% - end + <% + end %>
<%= h(plan.name) -%> <%= format_date(plan.deadLine()) -%><%= message('action_plans.no_issues_linked_to_action_plan') -%>
<% end %> - + <% end %> -- cgit v1.2.3