Customizing "My page" and default "My page" presets » _list_simple.html.erb
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_priority)%></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 issue.id, issue_path(issue) %> |
16 |
</td>
|
17 |
<td class="project"><%= link_to_project(issue.project) %></td> |
18 |
<td class="priority"><%=h issue.priority %></td> |
19 |
<td class="subject"> |
20 |
<%= link_to truncate(issue.subject, :length => 60), issue_path(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 %> |