diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-25 11:44:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-25 11:44:12 +0000 |
commit | 9814dcf231b50bd1d8e712db8534051ff8a8c8c6 (patch) | |
tree | db40fb794b2ed5a87477c6d026e98123d3425b39 /app/views/custom_fields | |
parent | 1eee6b3a30dfa2e0b7c9aaa5db3da3b3c9965b19 (diff) | |
download | redmine-9814dcf231b50bd1d8e712db8534051ff8a8c8c6.tar.gz redmine-9814dcf231b50bd1d8e712db8534051ff8a8c8c6.zip |
Use css pseudo-classes instead of cycle("odd", "even") (#15361).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16249 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r-- | app/views/custom_fields/_index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb index dfc458cdc..04d4aa21d 100644 --- a/app/views/custom_fields/_index.html.erb +++ b/app/views/custom_fields/_index.html.erb @@ -12,7 +12,7 @@ <tbody> <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%> <% back_url = custom_fields_path(:tab => tab[:name]) %> - <tr class="<%= cycle("odd", "even") %>"> + <tr> <td class="name"><%= link_to custom_field.name, edit_custom_field_path(custom_field) %></td> <td><%= l(custom_field.format.label) %></td> <td><%= checked_image custom_field.is_required? %></td> @@ -25,6 +25,6 @@ <%= delete_link custom_field_path(custom_field) %> </td> </tr> - <% end; reset_cycle %> + <% end %> </tbody> </table> |