4155c97222
There are 2 ways to select a set of issues on the issue list: * by using checkbox and/or the little pencil that will select/unselect all issues (#567) * by clicking on the rows (but not on the links), Ctrl and Shift keys can be used to select multiple issues Context menu was disabled on links so that the default context menu of the browser is displayed when right-clicking on a link (#545). All this was tested with Firefox 2, IE 6/7, Opera 8 (use Alt+Click instead of Right-click) and Safari 2/3. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1130 e93f8b46-1217-0410-a6f0-8f06a7374b81
29 lines
1018 B
Plaintext
29 lines
1018 B
Plaintext
<% if issues && issues.any? %>
|
|
<% form_tag({}) do %>
|
|
<table class="list issues">
|
|
<thead><tr>
|
|
<th>#</th>
|
|
<th><%=l(:field_tracker)%></th>
|
|
<th><%=l(:field_subject)%></th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<% 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 />
|
|
<%= issue.status.name %> - <%= format_time(issue.updated_on) %></td>
|
|
<td class="subject">
|
|
<%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<% end %>
|
|
<% else %>
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
<% end %>
|