Commit d2b89f5f authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

git-svn-id: http://redmine.rubyforge.org/svn/trunk@19 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 6b08e1b3
......@@ -14,9 +14,8 @@
</tr>
<% for version in @versions %>
<tr>
<td colspan="7"><%= image_tag 'package' %> <b><%= version.name %></b></td>
</tr>
<% unless version.attachments.empty? %>
<tr><td colspan="7"><%= image_tag 'package' %> <b><%= version.name %></b></td></tr>
<% for file in version.attachments %>
<tr class="<%= cycle("odd", "even") %>">
<td></td>
......@@ -35,6 +34,7 @@
</tr>
<% end
reset_cycle %>
<% end %>
<% end %>
</table>
......
<% if @statuses.empty? or rows.empty? %>
<p><i><%=l(:label_no_data)%></i></p>
<% else %>
<% col_width = 70 / (@statuses.length+3) %>
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr>
<td width="25%"></td>
......@@ -28,7 +30,11 @@
:set_filter => 1,
"#{field_name}" => row.id,
"status_id" => "O" %></td>
<td align="center"><%= aggregate data, { field_name => row.id, "closed" => 1 } %></td>
<td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }),
:controller => 'projects', :action => 'list_issues', :id => @project,
:set_filter => 1,
"#{field_name}" => row.id,
"status_id" => "C" %></td>
<td align="center"><%= link_to (aggregate data, { field_name => row.id }),
:controller => 'projects', :action => 'list_issues', :id => @project,
:set_filter => 1,
......@@ -36,4 +42,5 @@
"status_id" => "A" %></td>
<% end %>
</tr>
</table>
\ No newline at end of file
</table>
<% end %>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment