diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-03-04 18:42:10 +0100 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-03-04 18:42:22 +0100 |
commit | f90ef17c9a5226a699b4bc4316d9626b92940c0a (patch) | |
tree | 6ef07b4df2bf04934d496f63f2ff4fdd2cc1251f /sonar-server/src/main/webapp | |
parent | 43791ffba2fb73e8d344d8e10ff499eaf41d7329 (diff) | |
download | sonarqube-f90ef17c9a5226a699b4bc4316d9626b92940c0a.tar.gz sonarqube-f90ef17c9a5226a699b4bc4316d9626b92940c0a.zip |
SONAR-5086 Add commonentRoots parameter to links on action plan progress bar
Diffstat (limited to 'sonar-server/src/main/webapp')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/_progress.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/_progress.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/_progress.html.erb index d0bb4d27463..590e0a24ece 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/_progress.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/_progress.html.erb @@ -1,6 +1,8 @@ <% unless action_plan.totalIssues()==0 - options = {:actionPlans => action_plan.key} + project = @project + project = @resource if project.nil? + options = {:actionPlans => action_plan.key, :componentRoots => u(project.key)} resolved_issues_link = action_plan.resolvedIssues().to_s resolved_issues_link = link_to action_plan.resolvedIssues().to_s, url_for_issues(options.merge(:resolved => 'true')) unless action_plan.resolvedIssues()==0 |