mirror of
https://github.com/redmine/redmine.git
synced 2026-01-26 17:30:00 +01:00
Merged r22675 and r22676 from trunk to 5.1-stable (#40166).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22677 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<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) %>
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
<tr>
|
||||
<% if @admin_list %>
|
||||
<th class="checkbox hide-when-print">
|
||||
<input type="checkbox" name="check_all" id="check_all" value="" class="toggle-selection" title="Check all/Uncheck all">
|
||||
<%= check_box_tag 'check_all', '', false, :class => 'toggle-selection',
|
||||
:title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}" %>
|
||||
</th>
|
||||
<% end %>
|
||||
<% @query.inline_columns.each do |column| %>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<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>
|
||||
@@ -63,7 +63,7 @@
|
||||
<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>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<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) %>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<% @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>
|
||||
@@ -29,7 +29,7 @@
|
||||
<% field_name = l("field_#{field}".sub(/_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>
|
||||
@@ -52,7 +52,7 @@
|
||||
<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>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<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) %>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<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>
|
||||
@@ -14,7 +14,7 @@
|
||||
<% 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>
|
||||
@@ -28,7 +28,7 @@
|
||||
<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 %>
|
||||
|
||||
Reference in New Issue
Block a user