2008-02-10 16:17:41 +03:00
|
|
|
<% if issues && issues.any? %>
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= form_tag({}) do %>
|
2011-09-15 13:23:37 +04:00
|
|
|
<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">
|
2012-01-08 21:40:27 +04:00
|
|
|
<%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %>
|
2011-09-15 13:23:37 +04:00
|
|
|
<%= link_to(h(issue.id), :controller => 'issues', :action => 'show', :id => issue) %>
|
|
|
|
</td>
|
|
|
|
<td class="project"><%= link_to_project(issue.project) %></td>
|
|
|
|
<td class="tracker"><%=h issue.tracker %></td>
|
|
|
|
<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>
|
2011-09-15 13:23:37 +04:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2008-02-10 16:17:41 +03:00
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% else %>
|
2011-09-15 13:23:37 +04:00
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
2008-02-10 16:17:41 +03:00
|
|
|
<% end %>
|