diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-15 16:23:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-15 16:23:35 +0000 |
commit | dd491c305c076a94e7aaef78f7142122839b37cc (patch) | |
tree | 6ff0862f884bfec18b7f43a9a815c59c5afa5ee8 /app | |
parent | bab4a3768bfa90d5fb56a2493e1ab379384481e0 (diff) | |
download | redmine-dd491c305c076a94e7aaef78f7142122839b37cc.tar.gz redmine-dd491c305c076a94e7aaef78f7142122839b37cc.zip |
Add tooltip on trackers summary matrix (#24790).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16203 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/trackers/fields.html.erb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/trackers/fields.html.erb b/app/views/trackers/fields.html.erb index b53f1fa0f..09e5e4e46 100644 --- a/app/views/trackers/fields.html.erb +++ b/app/views/trackers/fields.html.erb @@ -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> |