##// END OF EJS Templates
tr color removed on issues list...
Jean-Philippe Lang -
r63:b3be8745b09a
parent child
Show More
@@ -1,28 +1,28
1 1 <% if issues.length > 0 %>
2 2 <table cellspacing="0" cellpadding="1" width="100%" border="0" class="listTable">
3 3 <tr><td>
4 4 <table class="listTableContent">
5 5 <tr class="ListHead">
6 6 <th>#</th>
7 7 <th><%=l(:field_tracker)%></th>
8 8 <th><%=l(:field_subject)%></th>
9 9 </tr>
10 10 <% for issue in issues %>
11 <tr bgcolor="#<%= issue.status.html_color %>">
12 <td align="center">
11 <tr class="<%= cycle("odd", "even") %>">
12 <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;">
13 13 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %><br />
14 14 </td>
15 15 <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
16 16 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
17 17 <td>
18 18 <p class="small"><%= link_to issue.subject, :controller => 'issues', :action => 'show', :id => issue %></p>
19 19 </td>
20 20 </tr>
21 21 <% end %>
22 22 </table>
23 23 </td>
24 24 </tr>
25 25 </table>
26 26 <% else %>
27 27 <i><%=l(:label_no_data)%></i>
28 28 <% end %> No newline at end of file
@@ -1,76 +1,76
1 1 <h2><%=l(:label_issue_plural)%></h2>
2 2 <div class="topright">
3 3 <small>
4 4 <%= l(:label_export_to) %>&nbsp;
5 5 <%= link_to 'CSV', :action => 'export_issues_csv', :id => @project %>,
6 6 <%= link_to 'PDF', :action => 'export_issues_pdf', :id => @project %>
7 7 </small>
8 8 </div>
9 9
10 10 <%= start_form_tag :action => 'list_issues' %>
11 11 <table cellpadding=2>
12 12 <tr>
13 13 <td valign="bottom"><small><%=l(:field_status)%>:</small><br /><%= search_filter_tag 'status_id', :class => 'select-small' %></td>
14 14 <td valign="bottom"><small><%=l(:field_tracker)%>:</small><br /><%= search_filter_tag 'tracker_id', :class => 'select-small' %></td>
15 15 <td valign="bottom"><small><%=l(:field_priority)%>:</small><br /><%= search_filter_tag 'priority_id', :class => 'select-small' %></td>
16 16 <td valign="bottom"><small><%=l(:field_category)%>:</small><br /><%= search_filter_tag 'category_id', :class => 'select-small' %></td>
17 17 <td valign="bottom"><small><%=l(:field_fixed_version)%>:</small><br /><%= search_filter_tag 'fixed_version_id', :class => 'select-small' %></td>
18 18 <td valign="bottom"><small><%=l(:field_author)%>:</small><br /><%= search_filter_tag 'author_id', :class => 'select-small' %></td>
19 19 <td valign="bottom"><small><%=l(:field_assigned_to)%>:</small><br /><%= search_filter_tag 'assigned_to_id', :class => 'select-small' %></td>
20 20 <td valign="bottom"><small><%=l(:label_subproject_plural)%>:</small><br /><%= search_filter_tag 'subproject_id', :class => 'select-small' %></td>
21 21 <td valign="bottom">
22 22 <%= hidden_field_tag 'set_filter', 1 %>
23 23 <%= submit_tag l(:button_apply), :class => 'button-small' %>
24 24 </td>
25 25 <td valign="bottom">
26 26 <%= link_to l(:button_clear), :action => 'list_issues', :id => @project, :set_filter => 1 %>
27 27 </td>
28 28 </tr>
29 29 </table>
30 30 <%= end_form_tag %>
31 31
32 32 &nbsp;
33 33 <table class="listTableContent">
34 34 <tr>
35 35 <td colspan="6" align="left"><small><%= check_all_links 'issues_form' %></small></td>
36 36 <td colspan="2" align="right">
37 37 <small><%= l(:label_per_page) %>:</small>
38 38 <%= start_form_tag %>
39 39 <%= select_tag 'per_page', options_for_select(@results_per_page_options, @results_per_page), :class => 'select-small'%>
40 40 <%= submit_tag l(:button_apply), :class => 'button-small'%>
41 41 <%= end_form_tag %>
42 42 </td>
43 43 </tr>
44 44 </table>
45 45 <%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %>
46 46 <table class="listTableContent">
47 47
48 48 <tr class="ListHead">
49 49 <td></td>
50 50 <%= sort_header_tag('issues.id', :caption => '#') %>
51 51 <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %>
52 52 <%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %>
53 53 <th><%=l(:field_subject)%></th>
54 54 <%= sort_header_tag('users.lastname', :caption => l(:field_author)) %>
55 55 <%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %>
56 56 <%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %>
57 57 </tr>
58 58 <% for issue in @issues %>
59 <tr bgcolor="#<%= issue.status.html_color %>">
59 <tr class="<%= cycle("odd", "even") %>">
60 60 <td width="15"><%= check_box_tag "issue_ids[]", issue.id %></td>
61 61 <td align="center"><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></td>
62 <td align="center"><%= issue.status.name %></td>
62 <td align="center" style="font-weight:bold;color:#<%= issue.status.html_color %>;"><%= issue.status.name %></font></td>
63 63 <td align="center"><%= issue.tracker.name %></td>
64 64 <td><%= link_to issue.subject, :controller => 'issues', :action => 'show', :id => issue %></td>
65 65 <td align="center"><%= issue.author.display_name %></td>
66 66 <td align="center"><%= format_time(issue.created_on) %></td>
67 67 <td align="center"><%= format_time(issue.updated_on) %></td>
68 68 </tr>
69 69 <% end %>
70 70 </table>
71 71 <p>
72 72 <%= pagination_links_full @issue_pages %>
73 73 [ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ]
74 74 </p>
75 75 <%= submit_tag l(:button_move) %>
76 76 <%= end_form_tag %> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now