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>
|
2009-02-11 23:25:05 +03:00
|
|
|
<th><%=l(:field_project)%></th>
|
2007-03-12 20:59:02 +03:00
|
|
|
<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 %>
|
2009-04-25 15:28:48 +04:00
|
|
|
<tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
|
2007-10-06 00:34:21 +04:00
|
|
|
<td class="id">
|
2009-02-11 23:25:05 +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>
|
2010-08-08 11:07:20 +04:00
|
|
|
<td class="project"><%= link_to_project(issue.project) %></td>
|
2009-02-11 23:25:05 +03:00
|
|
|
<td class="tracker"><%=h issue.tracker %></td>
|
2007-11-24 18:16:04 +03:00
|
|
|
<td class="subject">
|
2009-02-21 14:10:34 +03:00
|
|
|
<%= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>)
|
2009-02-11 23:25:05 +03:00
|
|
|
</td>
|
2006-07-29 23:54:22 +04:00
|
|
|
</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 %>
|