Patch #35034 ยป improve-workflow-loading-time.patch
| app/views/workflows/_form.html.erb | ||
|---|---|---|
|
<th>
|
||
|
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled)')",
|
||
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
|
||
|
:class => 'icon-only icon-checked') %>
|
||
|
:class => 'no-tooltip icon-only icon-checked') %>
|
||
|
<%=l(:label_current_status)%>
|
||
|
</th>
|
||
|
<th colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
|
||
| ... | ... | |
|
<td style="width:<%= 75 / @statuses.size %>%;">
|
||
|
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).new-status-#{new_status.id}')",
|
||
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
|
||
|
:class => 'icon-only icon-checked') %>
|
||
|
:class => 'no-tooltip icon-only icon-checked') %>
|
||
|
<%= new_status.name %>
|
||
|
</td>
|
||
|
<% end %>
|
||
| ... | ... | |
|
<td class="name">
|
||
|
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).old-status-#{old_status.try(:id) || 0}')",
|
||
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
|
||
|
:class => 'icon-only icon-checked') %>
|
||
|
:class => 'no-tooltip icon-only icon-checked') %>
|
||
|
<% if old_status %>
|
||
|
<% old_status_name = old_status.name %>
|
||
|
<%= old_status_name %>
|
||