summaryrefslogtreecommitdiffstats
path: root/app/views/workflows
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:59:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:59:03 +0000
commit49fcec80b7eb42debb749b7eef27b315c137d19f (patch)
tree36c336301429ef1eadd6d47e6031932b8a1a1a00 /app/views/workflows
parent826e978806bbe80d266c1ebdda64fd84b0f5208a (diff)
downloadredmine-49fcec80b7eb42debb749b7eef27b315c137d19f.tar.gz
redmine-49fcec80b7eb42debb749b7eef27b315c137d19f.zip
Reverts r16051 and r16050 for now (#15361).
git-svn-id: http://svn.redmine.org/redmine/trunk@16052 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/workflows')
-rw-r--r--app/views/workflows/_form.html.erb2
-rw-r--r--app/views/workflows/index.html.erb2
-rw-r--r--app/views/workflows/permissions.html.erb4
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erb
index def117b3f..9fb2705e7 100644
--- a/app/views/workflows/_form.html.erb
+++ b/app/views/workflows/_form.html.erb
@@ -24,7 +24,7 @@
<tbody>
<% for old_status in [nil] + @statuses %>
<% next if old_status.nil? && name != 'always' %>
- <tr>
+ <tr class="<%= cycle("odd", "even") %>">
<td class="name">
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.try(:id) || 0}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
diff --git a/app/views/workflows/index.html.erb b/app/views/workflows/index.html.erb
index 66785a40c..1a0780532 100644
--- a/app/views/workflows/index.html.erb
+++ b/app/views/workflows/index.html.erb
@@ -17,7 +17,7 @@
</thead>
<tbody>
<% @trackers.each do |tracker| -%>
-<tr>
+<tr class="<%= cycle('odd', 'even') %>">
<td class="name"><%= tracker.name %></td>
<% @roles.each do |role| -%>
<% count = @workflow_counts[[tracker.id, role.id]] || 0 %>
diff --git a/app/views/workflows/permissions.html.erb b/app/views/workflows/permissions.html.erb
index fc886e0d4..0fb4c8bb6 100644
--- a/app/views/workflows/permissions.html.erb
+++ b/app/views/workflows/permissions.html.erb
@@ -60,7 +60,7 @@
</td>
</tr>
<% @fields.each do |field, name| %>
- <tr>
+ <tr class="<%= cycle("odd", "even") %>">
<td class="name">
<%= name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %>
</td>
@@ -80,7 +80,7 @@
</td>
</tr>
<% @custom_fields.each do |field| %>
- <tr>
+ <tr class="<%= cycle("odd", "even") %>">
<td class="name">
<%= field.name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %>
</td>