diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-03 09:15:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-03 09:15:31 +0000 |
commit | 48f72a3d15def45352c0be4e7f27b2ba3852f949 (patch) | |
tree | 728515a1a7a51bac340ed908582780411e4f4a07 /app/views/trackers | |
parent | 3e86a2ab52bcadea6ed92522a3d3e88b6dc4aa30 (diff) | |
download | redmine-48f72a3d15def45352c0be4e7f27b2ba3852f949.tar.gz redmine-48f72a3d15def45352c0be4e7f27b2ba3852f949.zip |
Use css pseudo-classes instead "odd", "even" classes (#15361).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16050 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/trackers')
-rw-r--r-- | app/views/trackers/fields.html.erb | 4 | ||||
-rw-r--r-- | app/views/trackers/index.html.erb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/trackers/fields.html.erb b/app/views/trackers/fields.html.erb index b53f1fa0f..61d1da46a 100644 --- a/app/views/trackers/fields.html.erb +++ b/app/views/trackers/fields.html.erb @@ -25,7 +25,7 @@ </td> </tr> <% Tracker::CORE_FIELDS.each do |field| %> - <tr class="<%= cycle("odd", "even") %>"> + <tr> <td class="name"> <%= link_to_function('', "toggleCheckboxesBySelector('input.core-field-#{field}')", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", @@ -48,7 +48,7 @@ </td> </tr> <% @custom_fields.each do |field| %> - <tr class="<%= cycle("odd", "even") %>"> + <tr> <td class="name"> <%= link_to_function('', "toggleCheckboxesBySelector('input.custom-field-#{field.id}')", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", diff --git a/app/views/trackers/index.html.erb b/app/views/trackers/index.html.erb index 5f40cf0ee..8f6c210b7 100644 --- a/app/views/trackers/index.html.erb +++ b/app/views/trackers/index.html.erb @@ -13,7 +13,7 @@ </tr></thead> <tbody> <% for tracker in @trackers %> - <tr class="<%= cycle("odd", "even") %>"> + <tr> <td class="name"><%= link_to tracker.name, edit_tracker_path(tracker) %></td> <td> <% unless tracker.workflow_rules.count > 0 %> |