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