Commit 3b0335d4 authored by jplang's avatar jplang

Add tooltip on trackers summary matrix (#24790).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@16203 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9ef57e8e
......@@ -26,14 +26,15 @@
</tr>
<% Tracker::CORE_FIELDS.each do |field| %>
<tr class="<%= cycle("odd", "even") %>">
<% 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)}",
:class => 'icon-only icon-checked') %>
<%= l("field_#{field}".sub(/_id$/, '')) %>
<%= field_name %>
</td>
<% @trackers.each do |tracker| %>
<td>
<td title="<%= "#{tracker.name}: #{field_name}" %>">
<%= check_box_tag "trackers[#{tracker.id}][core_fields][]", field, tracker.core_fields.include?(field),
:class => "tracker-#{tracker.id} core-field-#{field}", :id => nil %>
</td>
......@@ -56,7 +57,7 @@
<%= field.name %>
</td>
<% @trackers.each do |tracker| %>
<td>
<td title="<%= "#{tracker.name}: #{field.name}" %>">
<%= check_box_tag "trackers[#{tracker.id}][custom_field_ids][]", field.id, tracker.custom_fields.include?(field),
:class => "tracker-#{tracker.id} custom-field-#{field.id}", :id => nil %>
</td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment