##// END OF EJS Templates
replace tabs to spaces at app/views/workflows/_form.html.erb....
Toshi MARUYAMA -
r6556:420e1fd0900c
parent child
Show More
@@ -1,40 +1,40
1 <table class="list transitions-<%= name %>">
1 <table class="list transitions-<%= name %>">
2 <thead>
2 <thead>
3 <tr>
3 <tr>
4 <th align="left">
4 <th align="left">
5 <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')",
5 <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')",
6 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
6 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
7 <%=l(:label_current_status)%>
7 <%=l(:label_current_status)%>
8 </th>
8 </th>
9 <th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
9 <th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
10 </tr>
10 </tr>
11 <tr>
11 <tr>
12 <td></td>
12 <td></td>
13 <% for new_status in @statuses %>
13 <% for new_status in @statuses %>
14 <td width="<%= 75 / @statuses.size %>%" align="center">
14 <td width="<%= 75 / @statuses.size %>%" align="center">
15 <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')",
15 <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')",
16 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
16 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
17 <%=h new_status.name %>
17 <%=h new_status.name %>
18 </td>
18 </td>
19 <% end %>
19 <% end %>
20 </tr>
20 </tr>
21 </thead>
21 </thead>
22 <tbody>
22 <tbody>
23 <% for old_status in @statuses %>
23 <% for old_status in @statuses %>
24 <tr class="<%= cycle("odd", "even") %>">
24 <tr class="<%= cycle("odd", "even") %>">
25 <td>
25 <td>
26 <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.id}')",
26 <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.id}')",
27 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
27 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
28
28
29 <%=h old_status.name %>
29 <%=h old_status.name %>
30 </td>
30 </td>
31 <% for new_status in @statuses -%>
31 <% for new_status in @statuses -%>
32 <td align="center">
32 <td align="center">
33 <%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id},
33 <%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id},
34 :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
34 :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
35 </td>
35 </td>
36 <% end -%>
36 <% end -%>
37 </tr>
37 </tr>
38 <% end %>
38 <% end %>
39 </tbody>
39 </tbody>
40 </table> No newline at end of file
40 </table>
General Comments 0
You need to be logged in to leave comments. Login now