diff options
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/action_plans.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
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 cb5b925d041..db9c35fa315 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 @@ -1,5 +1,6 @@ <% - if has_role?(:user, @project) + # This widget should only be display on root projects, not on modules + if @project.root_project == @project && has_role?(:user, @project) action_plans = Internal.issues.findActionPlanStats(@resource.key) open_action_plans = action_plans.select {|plan| plan.isOpen()} |