2013-08-01 10:33:49 +08:00
|
|
|
<% if issues && issues.any? %>
|
|
|
|
<%= form_tag({}) do %>
|
|
|
|
<table class="list issues">
|
|
|
|
<thead><tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th><%=l(:field_project)%></th>
|
|
|
|
<th><%=l(:field_tracker)%></th>
|
|
|
|
<th><%=l(:field_subject)%></th>
|
|
|
|
</tr></thead>
|
|
|
|
<tbody>
|
|
|
|
<% for issue in issues %>
|
|
|
|
<tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
|
|
|
|
<td class="id">
|
|
|
|
<%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %>
|
2014-07-04 16:00:18 +08:00
|
|
|
<%= link_to issue.id, issue_path(issue.id) %>
|
2013-08-01 10:33:49 +08:00
|
|
|
</td>
|
|
|
|
<td class="project"><%= link_to_project(issue.project) %></td>
|
|
|
|
<td class="tracker"><%=h issue.tracker %></td>
|
|
|
|
<td class="subject">
|
2014-07-04 16:00:18 +08:00
|
|
|
<%= link_to truncate(issue.subject, :length => 60), issue_path(issue.id) %> (<%=h issue.status %>)
|
2013-08-01 10:33:49 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<% end %>
|
|
|
|
<% else %>
|
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
|
|
<% end %>
|