summaryrefslogtreecommitdiffstats
path: root/app/views/trackers
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/trackers')
-rw-r--r--app/views/trackers/fields.html.erb15
1 files changed, 9 insertions, 6 deletions
diff --git a/app/views/trackers/fields.html.erb b/app/views/trackers/fields.html.erb
index 285a01b7e..b53f1fa0f 100644
--- a/app/views/trackers/fields.html.erb
+++ b/app/views/trackers/fields.html.erb
@@ -9,9 +9,10 @@
<th></th>
<% @trackers.each do |tracker| %>
<th>
+ <%= link_to_function('', "toggleCheckboxesBySelector('input.tracker-#{tracker.id}')",
+ :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
+ :class => 'icon-only icon-checked') %>
<%= tracker.name %>
- <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('input.tracker-#{tracker.id}')",
- :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
</th>
<% end %>
</tr>
@@ -26,8 +27,9 @@
<% Tracker::CORE_FIELDS.each do |field| %>
<tr class="<%= cycle("odd", "even") %>">
<td class="name">
- <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('input.core-field-#{field}')",
- :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
+ <%= 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$/, '')) %>
</td>
<% @trackers.each do |tracker| %>
@@ -48,8 +50,9 @@
<% @custom_fields.each do |field| %>
<tr class="<%= cycle("odd", "even") %>">
<td class="name">
- <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('input.custom-field-#{field.id}')",
- :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
+ <%= link_to_function('', "toggleCheckboxesBySelector('input.custom-field-#{field.id}')",
+ :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
+ :class => 'icon-only icon-checked') %>
<%= field.name %>
</td>
<% @trackers.each do |tracker| %>