From: Fabrice Bellingard Date: Tue, 5 Jun 2012 09:10:28 +0000 (+0200) Subject: SONAR-3528 Add missing modification on Ruby template X-Git-Tag: 3.1~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d7e8145105c453c39f95105734fce2a11ff3f00c;p=sonarqube.git SONAR-3528 Add missing modification on Ruby template --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb index f09cff1e970..50c60463642 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb @@ -1,6 +1,6 @@ <% if has_role?(:user, @project) - limit = widget_properties["numberOfLines"] + table_limit = widget_properties["numberOfLines"] search_options = {} search_options['projects'] = @project.key @@ -26,7 +26,7 @@ else first_action_plan = open_action_plans[0] url_options = search_options.merge({:controller => 'project_reviews', :action => 'widget_reviews_list', :snapshot_id => @snapshot.id, - :limit => limit, :widget_id => widget.id, :period => params[:period] }) + :table_limit => table_limit, :widget_id => widget.id, :period => params[:period] }) %> @@ -54,7 +53,7 @@ <% search_options['action_plan_id'] = first_action_plan.id %> <%= render :partial => 'project/widgets/reviews/reviews_list', :locals => {:search_options => search_options, - :limit => limit, + :table_limit => table_limit, :widget_id => widget.id.to_s} %>