##// END OF EJS Templates
Link the project name in simple issue lists....
Eric Davis -
r2616:f90b85f8be94
parent child
Show More
@@ -1,29 +1,29
1 1 <% if issues && issues.any? %>
2 2 <% form_tag({}) do %>
3 3 <table class="list issues">
4 4 <thead><tr>
5 5 <th>#</th>
6 6 <th><%=l(:field_project)%></th>
7 7 <th><%=l(:field_tracker)%></th>
8 8 <th><%=l(:field_subject)%></th>
9 9 </tr></thead>
10 10 <tbody>
11 11 <% for issue in issues %>
12 12 <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
13 13 <td class="id">
14 14 <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %>
15 15 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
16 16 </td>
17 <td class="project"><%=h issue.project %></td>
17 <td class="project"><%= link_to(h(issue.project), :controller => 'projects', :action => 'show', :id => issue.project) %></td>
18 18 <td class="tracker"><%=h issue.tracker %></td>
19 19 <td class="subject">
20 20 <%= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>)
21 21 </td>
22 22 </tr>
23 23 <% end %>
24 24 </tbody>
25 25 </table>
26 26 <% end %>
27 27 <% else %>
28 28 <p class="nodata"><%= l(:label_no_data) %></p>
29 29 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now