]> source.dussan.org Git - redmine.git/commitdiff
Make use of link_to_issue.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Nov 2009 14:07:37 +0000 (14:07 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Nov 2009 14:07:37 +0000 (14:07 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3062 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/move.rhtml

index e1189db45f2b4e5e670ea2d66cceb3e30acf759a..b0602f681befc6784c5bf9dd25c38af03b80cf80 100644 (file)
@@ -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 %>