30 lines
980 B
Plaintext
30 lines
980 B
Plaintext
<% 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-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= css_issue_classes(issue) %>">
|
|
<td class="id">
|
|
<%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %>
|
|
<%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
|
|
</td>
|
|
<td class="project"><%=h issue.project %></td>
|
|
<td class="tracker"><%=h issue.tracker %></td>
|
|
<td class="subject">
|
|
<%= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>)
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<% end %>
|
|
<% else %>
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
<% end %>
|