To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / issues / _list_simple.html.erb @ 1297:0a574315af3e

History | View | Annotate | Download (1.03 KB)

1
<% if issues && issues.any? %>
2
<%= form_tag({}) do %>
3
  <table class="list issues">
4
    <thead><tr>
5
    <th>#</th>
6
    <th><%=l(:field_project)%></th>
7
    <th><%=l(:field_tracker)%></th>
8
    <th><%=l(:field_subject)%></th>
9
    </tr></thead>
10
    <tbody>
11
    <% for issue in issues %>
12
    <tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
13
      <td class="id">
14
        <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %>
15
        <%= link_to(h(issue.id), :controller => 'issues', :action => 'show', :id => issue) %>
16
      </td>
17
      <td class="project"><%= link_to_project(issue.project) %></td>
18
      <td class="tracker"><%=h issue.tracker %></td>
19
      <td class="subject">
20
        <%= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>)
21
      </td>
22
    </tr>
23
    <% end %>
24
    </tbody>
25
  </table>
26
<% end %>
27
<% else %>
28
  <p class="nodata"><%= l(:label_no_data) %></p>
29
<% end %>