From 23a1ef543fcf40af6b48a5cf1f164d8e82e3d419 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 8 Jul 2012 13:19:46 +0000 Subject: Show shared versions when editing issues from different projects with the context menu (#11345). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9961 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/context_menus/issues.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/views/context_menus') diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb index f90cbf0e5..f029ca408 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -45,12 +45,11 @@ <% end %> - <% #TODO: allow editing versions when multiple projects %> - <% if @safe_attributes.include?('fixed_version_id') && @project && @project.shared_versions.open.any? -%> + <% if @safe_attributes.include?('fixed_version_id') && @versions.any? -%>
  • <%= l(:field_fixed_version) %>