diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-11-15 14:07:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-11-15 14:07:37 +0000 |
commit | 63c86758876dbfeef745935b68f8bb529e6df1ed (patch) | |
tree | b1b5091d8fc2fdd043940dae2db8b65a4058f958 | |
parent | 6838677e30c18b92a828865905f828ff93fce88e (diff) | |
download | redmine-63c86758876dbfeef745935b68f8bb529e6df1ed.tar.gz redmine-63c86758876dbfeef745935b68f8bb529e6df1ed.zip |
Make use of link_to_issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3062 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/issues/move.rhtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/issues/move.rhtml b/app/views/issues/move.rhtml index e1189db45..b0602f681 100644 --- a/app/views/issues/move.rhtml +++ b/app/views/issues/move.rhtml @@ -1,6 +1,10 @@ <h2><%= l(:button_move) %></h2> -<ul><%= @issues.collect {|i| content_tag('li', link_to(h("#{i.tracker} ##{i.id}"), { :action => 'show', :id => i }) + h(": #{i.subject}")) }.join("\n") %></ul> +<ul> +<% @issues.each do |issue| -%> + <li><%= link_to_issue issue %></li> +<% end -%> +</ul> <% form_tag({}, :id => 'move_form') do %> <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> |