summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:15:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:15:31 +0000
commit48f72a3d15def45352c0be4e7f27b2ba3852f949 (patch)
tree728515a1a7a51bac340ed908582780411e4f4a07 /app/views/custom_fields
parent3e86a2ab52bcadea6ed92522a3d3e88b6dc4aa30 (diff)
downloadredmine-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/custom_fields')
-rw-r--r--app/views/custom_fields/_index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb
index 7a5d37283..417f1c345 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>