diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-03 09:15:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-03 09:15:31 +0000 |
commit | 48f72a3d15def45352c0be4e7f27b2ba3852f949 (patch) | |
tree | 728515a1a7a51bac340ed908582780411e4f4a07 /app/views/admin/projects.html.erb | |
parent | 3e86a2ab52bcadea6ed92522a3d3e88b6dc4aa30 (diff) | |
download | redmine-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/admin/projects.html.erb')
-rw-r--r-- | app/views/admin/projects.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.html.erb b/app/views/admin/projects.html.erb index d9c32280d..a5667f272 100644 --- a/app/views/admin/projects.html.erb +++ b/app/views/admin/projects.html.erb @@ -27,7 +27,7 @@ </tr></thead> <tbody> <% project_tree(@projects, :init_level => true) do |project, level| %> - <tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> + <tr class="<%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> <td class="name"><span><%= link_to_project_settings(project, {}, :title => project.short_description) %></span></td> <td><%= checked_image project.is_public? %></td> <td><%= format_date(project.created_on) %></td> |