summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-25 11:44:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-25 11:44:12 +0000
commit9814dcf231b50bd1d8e712db8534051ff8a8c8c6 (patch)
treedb40fb794b2ed5a87477c6d026e98123d3425b39 /app/views/users
parent1eee6b3a30dfa2e0b7c9aaa5db3da3b3c9965b19 (diff)
downloadredmine-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/users')
-rw-r--r--app/views/users/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 60e42c603..3fc82b640 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -37,7 +37,7 @@
</tr></thead>
<tbody>
<% for user in @users -%>
- <tr class="<%= user.css_classes %> <%= cycle("odd", "even") %>">
+ <tr class="<%= user.css_classes %>">
<td class="username"><%= avatar(user, :size => "14") %><%= link_to user.login, edit_user_path(user) %></td>
<td class="firstname"><%= user.firstname %></td>
<td class="lastname"><%= user.lastname %></td>