Project

General

Profile

Defect #40166 » 0002-Add-spaces-around-the-slash-for-consistency-and-bett.patch

Go MAEDA, 2024-02-01 01:12

View differences:

app/views/issues/_list.html.erb
<tr>
<th class="checkbox hide-when-print">
<%= check_box_tag 'check_all', '', false, :class => 'toggle-selection',
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}" %>
</th>
<% query.inline_columns.each do |column| %>
<%= column_header(query, column, query_options) %>
app/views/roles/permissions.html.erb
<th>
<%= link_to_function('',
"toggleCheckboxesBySelector('input.role-#{role.id}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
<%= content_tag(role.builtin? ? 'em' : 'span', role.name) %>
</th>
......
<td class="name">
<%= link_to_function('',
"toggleCheckboxesBySelector('.permission-#{permission.name} input')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
<%= humanized_perm_name %>
</td>
app/views/timelog/_list.html.erb
<tr>
<th class="checkbox hide-when-print">
<%= check_box_tag 'check_all', '', false, :class => 'toggle-selection',
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}" %>
</th>
<% @query.inline_columns.each do |column| %>
<%= column_header(@query, column) %>
app/views/trackers/fields.html.erb
<% @trackers.each do |tracker| %>
<th>
<%= link_to_function('', "toggleCheckboxesBySelector('input.tracker-#{tracker.id}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
<%= tracker.name %>
</th>
......
<% field_name = l("field_#{field}".delete_suffix('_id')) %>
<td class="name">
<%= link_to_function('', "toggleCheckboxesBySelector('input.core-field-#{field}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
<%= field_name %>
</td>
......
<tr>
<td class="name">
<%= link_to_function('', "toggleCheckboxesBySelector('input.custom-field-#{field.id}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
<%= field.name %>
</td>
app/views/users/_list.html.erb
<tr>
<th class="checkbox hide-when-print">
<%= check_box_tag 'check_all', '', false, :class => 'toggle-selection',
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}" %>
</th>
<% @query.inline_columns.each do |column| %>
<%= column_header(@query, column) %>
app/views/workflows/_form.html.erb
<tr>
<th>
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled)')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'no-tooltip icon-only icon-checked') %>
<%=l(:label_current_status)%>
</th>
......
<% for new_status in @statuses %>
<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)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'no-tooltip icon-only icon-checked') %>
<%= new_status.name %>
</td>
......
<tr>
<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)}",
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}",
:class => 'no-tooltip icon-only icon-checked') %>
<% if old_status %>
<% old_status_name = old_status.name %>
(3-3/3)