summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_list_simple.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/_list_simple.rhtml')
-rw-r--r--app/views/issues/_list_simple.rhtml11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml
index eb93f8ea1..8900b7359 100644
--- a/app/views/issues/_list_simple.rhtml
+++ b/app/views/issues/_list_simple.rhtml
@@ -1,5 +1,6 @@
-<% if issues.length > 0 %>
- <table class="list">
+<% if issues && issues.any? %>
+<% form_tag({}) do %>
+ <table class="list issues">
<thead><tr>
<th>#</th>
<th><%=l(:field_tracker)%></th>
@@ -9,6 +10,7 @@
<% for issue in issues %>
<tr id="issue-<%= issue.id %>" class="issue hascontextmenu <%= cycle('odd', 'even') %> <%= "status-#{issue.status.position} priority-#{issue.priority.position}" %>">
<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><%=h issue.project.name %> - <%= issue.tracker.name %><br />
@@ -20,6 +22,7 @@
<% end %>
</tbody>
</table>
+<% end %>
<% else %>
- <i><%=l(:label_no_data)%></i>
-<% end %> \ No newline at end of file
+ <p class="nodata"><%= l(:label_no_data) %></p>
+<% end %>