diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-06-05 11:10:28 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-06-05 11:44:57 +0200 |
commit | 18fb4c8bdc749ff24ea65b9e0695adfe29edab32 (patch) | |
tree | 84519e0d08aff6a4475ae43863a26f891315122f /plugins/sonar-core-plugin | |
parent | 09711b542dd77597b8f2fb2e0eaa4f0d8f0da86d (diff) | |
download | sonarqube-18fb4c8bdc749ff24ea65b9e0695adfe29edab32.tar.gz sonarqube-18fb4c8bdc749ff24ea65b9e0695adfe29edab32.zip |
SONAR-3528 Add missing modification on Ruby template
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb | 7 |
1 files changed, 3 insertions, 4 deletions
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] }) %> <script type="text/javascript"> @@ -34,7 +34,6 @@ new Ajax.Updater('reviews-widget-<%= widget.id -%>', '<%= url_for url_options -%>&action_plan_id=' + actionPlanId, {asynchronous:true, evalScripts:true}); - $('planned-review-more-link_<%= widget.id -%>').href = '<%= url_for url_options.merge({:action => 'index'}) -%>&action_plan_id=' + actionPlanId; } </script> @@ -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} %> </div> |