git-svn-id: http://redmine.rubyforge.org/svn/trunk@19 e93f8b46-1217-0410-a6f0-8f06a7374b81

This commit is contained in:
Jean-Philippe Lang 2006-07-30 16:19:35 +00:00
parent 6b08e1b315
commit d2b89f5f9b
2 changed files with 13 additions and 6 deletions

View File

@ -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>

View File

@ -1,5 +1,7 @@
<% 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>
</table>
<% end %>