improve-workflow-loading-time.patch

Go MAEDA, 2021-04-05 10:30

Download (1.75 KB)

View differences:

app/views/workflows/_form.html.erb
4 4
    <th>
5 5
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled)')",
6 6
                           :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
7
                           :class => 'icon-only icon-checked') %>
7
                           :class => 'no-tooltip icon-only icon-checked') %>
8 8
      <%=l(:label_current_status)%>
9 9
    </th>
10 10
    <th colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
......
15 15
    <td style="width:<%= 75 / @statuses.size %>%;">
16 16
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).new-status-#{new_status.id}')",
17 17
                           :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
18
                           :class => 'icon-only icon-checked') %>
18
                           :class => 'no-tooltip icon-only icon-checked') %>
19 19
      <%= new_status.name %>
20 20
    </td>
21 21
    <% end %>
......
29 29
    <td class="name">
30 30
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).old-status-#{old_status.try(:id) || 0}')",
31 31
                           :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
32
                           :class => 'icon-only icon-checked') %>
32
                           :class => 'no-tooltip icon-only icon-checked') %>
33 33
      <% if old_status %>
34 34
        <% old_status_name = old_status.name %>
35 35
        <%= old_status_name %>