##// END OF EJS Templates
Colored square added on "my page" issue list...
Jean-Philippe Lang -
r402:568c22016ad3
parent child
Show More
@@ -1,25 +1,25
1 1 <% if issues.length > 0 %>
2 2 <table class="list">
3 3 <thead><tr>
4 4 <th>#</th>
5 5 <th><%=l(:field_tracker)%></th>
6 6 <th><%=l(:field_subject)%></th>
7 7 </tr></thead>
8 8 <tbody>
9 9 <% for issue in issues %>
10 10 <tr class="<%= cycle("odd", "even") %>">
11 11 <th align="center">
12 12 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
13 13 </th>
14 <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
14 <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
15 15 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
16 16 <td>
17 17 <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
18 18 </td>
19 19 </tr>
20 20 <% end %>
21 21 </tbody>
22 22 </table>
23 23 <% else %>
24 24 <i><%=l(:label_no_data)%></i>
25 25 <% end %> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now