2008-02-10 16:17:41 +03:00
|
|
|
<% if issues && issues.any? %>
|
|
|
|
<% form_tag({}) do %>
|
|
|
|
<table class="list issues">
|
2007-03-12 20:59:02 +03:00
|
|
|
<thead><tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th><%=l(:field_tracker)%></th>
|
|
|
|
<th><%=l(:field_subject)%></th>
|
|
|
|
</tr></thead>
|
|
|
|
<tbody>
|
2006-07-29 23:54:22 +04:00
|
|
|
<% for issue in issues %>
|
2007-11-24 18:16:04 +03:00
|
|
|
<tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>">
|
2007-10-06 00:34:21 +04:00
|
|
|
<td class="id">
|
2008-02-10 16:17:41 +03:00
|
|
|
<%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
|
2007-10-06 00:34:21 +04:00
|
|
|
</td>
|
2007-12-03 13:28:08 +03:00
|
|
|
<td><%=h issue.project.name %> - <%= issue.tracker.name %><br />
|
2007-11-24 18:16:04 +03:00
|
|
|
<%= issue.status.name %> - <%= format_time(issue.updated_on) %></td>
|
|
|
|
<td class="subject">
|
|
|
|
<%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %>
|
2006-07-29 23:54:22 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
2006-12-24 19:35:25 +03:00
|
|
|
</tbody>
|
2007-03-12 20:59:02 +03:00
|
|
|
</table>
|
2008-02-10 16:17:41 +03:00
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% else %>
|
2008-02-10 16:17:41 +03:00
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
|
|
<% end %>
|