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/groups | |
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/groups')
-rw-r--r-- | app/views/groups/_users.html.erb | 2 | ||||
-rw-r--r-- | app/views/groups/index.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/_users.html.erb b/app/views/groups/_users.html.erb index 391edf4d8..8c2ab7e4b 100644 --- a/app/views/groups/_users.html.erb +++ b/app/views/groups/_users.html.erb @@ -8,7 +8,7 @@ </tr></thead> <tbody> <% @group.users.sort.each do |user| %> - <tr id="user-<%= user.id %>" class="<%= cycle 'odd', 'even' %>"> + <tr id="user-<%= user.id %>"> <td class="name"><%= link_to_user user %></td> <td class="buttons"> <%= delete_link group_user_path(@group, :user_id => user), :remote => true %> diff --git a/app/views/groups/index.html.erb b/app/views/groups/index.html.erb index a8886d0d8..7b77fec22 100644 --- a/app/views/groups/index.html.erb +++ b/app/views/groups/index.html.erb @@ -24,7 +24,7 @@ </tr></thead> <tbody> <% @groups.each do |group| %> - <tr id="group-<%= group.id %>" class="<%= cycle 'odd', 'even' %> <%= "builtin" if group.builtin? %>"> + <tr id="group-<%= group.id %>" class="<%= "builtin" if group.builtin? %>"> <td class="name"><%= link_to group, edit_group_path(group) %></td> <td class="user_count"><%= (@user_count_by_group_id[group.id] || 0) unless group.builtin? %></td> <td class="buttons"><%= delete_link group unless group.builtin? %></td> |