summaryrefslogtreecommitdiffstats
path: root/app/views/principal_memberships
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/principal_memberships
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/principal_memberships')
-rw-r--r--app/views/principal_memberships/_index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/principal_memberships/_index.html.erb b/app/views/principal_memberships/_index.html.erb
index 508e2e271..c55a19543 100644
--- a/app/views/principal_memberships/_index.html.erb
+++ b/app/views/principal_memberships/_index.html.erb
@@ -13,7 +13,7 @@
<tbody>
<% memberships.each do |membership| %>
<% next if membership.new_record? %>
- <tr id="member-<%= membership.id %>" class="<%= cycle 'odd', 'even' %> class">
+ <tr id="member-<%= membership.id %>" class="class">
<td class="project name">
<%= link_to_project membership.project %>
</td>
@@ -31,7 +31,7 @@
</td>
<%= call_table_row_hook principal, membership %>
</tr>
- <% end; reset_cycle %>
+ <% end %>
</tbody>
</table>
<% else %>