summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_list.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/_list.html.erb')
-rw-r--r--app/views/issues/_list.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb
index f5b5bc1bb..62cf4e443 100644
--- a/app/views/issues/_list.html.erb
+++ b/app/views/issues/_list.html.erb
@@ -1,4 +1,4 @@
-<% form_tag({}) do -%>
+<%= form_tag({}) do -%>
<%= hidden_field_tag 'back_url', url_for(params), :id => nil %>
<div class="autoscroll">
<table class="list issues">
@@ -27,8 +27,8 @@
<% end %>
<tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
- <td class="id"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
- <% query.columns.each do |column| %><%= content_tag 'td', column_content(column, issue), :class => column.css_classes %><% end %>
+ <td class="id"><%= link_to issue.id, issue_path(issue) %></td>
+ <%= raw query.columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %>
</tr>
<% end -%>
</tbody>