summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-09-14 09:41:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-09-14 09:41:39 +0000
commit4fba4ca69177c308fa2c73365a31dd1fb1b74b8c (patch)
tree049e223199a7964548d46e48920c1a84aa21fced /app/views/versions
parent2eb95f41b41d4cf7fef6773f98100e6a449f9192 (diff)
downloadredmine-4fba4ca69177c308fa2c73365a31dd1fb1b74b8c.tar.gz
redmine-4fba4ca69177c308fa2c73365a31dd1fb1b74b8c.zip
Fixed: Issues counters in roadmap only link to issues in the same project (#9660).
Contributed by Sridhar Dhanapalan. git-svn-id: http://svn.redmine.org/redmine/trunk@13398 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/_overview.html.erb24
1 files changed, 10 insertions, 14 deletions
diff --git a/app/views/versions/_overview.html.erb b/app/views/versions/_overview.html.erb
index 4a7d42926..616e1acdc 100644
--- a/app/views/versions/_overview.html.erb
+++ b/app/views/versions/_overview.html.erb
@@ -19,20 +19,16 @@
<%= progress_bar([version.closed_percent, version.completed_percent],
:width => '40em', :legend => ('%0.0f%' % version.completed_percent)) %>
<p class="progress-info">
- <%= link_to(l(:label_x_issues, :count => version.issues_count),
- project_issues_path(version.project,
- :status_id => '*', :fixed_version_id => version,
- :set_filter => 1)) %>
- &nbsp;
- (<%= link_to_if(version.closed_issues_count > 0,
- l(:label_x_closed_issues_abbr, :count => version.closed_issues_count),
- project_issues_path(version.project, :status_id => 'c',
- :fixed_version_id => version, :set_filter => 1)) %>
- &#8212;
- <%= link_to_if(version.open_issues_count > 0,
- l(:label_x_open_issues_abbr, :count => version.open_issues_count),
- project_issues_path(version.project, :status_id => 'o',
- :fixed_version_id => version, :set_filter => 1)) %>)
+ <%= link_to(l(:label_x_issues, :count => version.issues_count),
+ version_filtered_issues_path(version, :status_id => '*')) %>
+ &nbsp;
+ (<%= link_to_if(version.closed_issues_count > 0,
+ l(:label_x_closed_issues_abbr, :count => version.closed_issues_count),
+ version_filtered_issues_path(version, :status_id => 'c')) %>
+ &#8212;
+ <%= link_to_if(version.open_issues_count > 0,
+ l(:label_x_open_issues_abbr, :count => version.open_issues_count),
+ version_filtered_issues_path(version, :status_id => 'o')) %>)
</p>
<% else %>
<p class="progress-info"><%= l(:label_roadmap_no_issues) %></p>