From 826e978806bbe80d266c1ebdda64fd84b0f5208a 2016-12-03 09:21:12 From: Jean-Philippe Lang Date: 2016-12-03 09:21:12 Subject: [PATCH] Removes calls to #reset_cycle (#15361). git-svn-id: http://svn.redmine.org/redmine/trunk@16051 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb index 417f1c3..1a4caa4 100644 --- a/app/views/custom_fields/_index.html.erb +++ b/app/views/custom_fields/_index.html.erb @@ -25,6 +25,6 @@ <%= delete_link custom_field_path(custom_field) %> - <% end; reset_cycle %> + <% end %> diff --git a/app/views/enumerations/index.html.erb b/app/views/enumerations/index.html.erb index 542be08..01e943e 100644 --- a/app/views/enumerations/index.html.erb +++ b/app/views/enumerations/index.html.erb @@ -24,7 +24,6 @@ <% end %> -<% reset_cycle %> <% end %>

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %>

diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index e4c61fb..50e7bd9 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -37,8 +37,7 @@ :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> - <% end - reset_cycle %> + <% end %> <% end %> diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index 9c29a83..0313f2e 100644 --- a/app/views/issues/_list.html.erb +++ b/app/views/issues/_list.html.erb @@ -16,7 +16,6 @@ <% grouped_issue_list(issues, @query, @issue_count_by_group) do |issue, level, group_name, group_count, group_totals| -%> <% if group_name %> - <% reset_cycle %>   diff --git a/app/views/principal_memberships/_index.html.erb b/app/views/principal_memberships/_index.html.erb index 7cf6f55..8f95958 100644 --- a/app/views/principal_memberships/_index.html.erb +++ b/app/views/principal_memberships/_index.html.erb @@ -44,7 +44,7 @@ <%= call_table_row_hook principal, membership %> - <% end; reset_cycle %> + <% end %> <% else %> diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index cb24c39..4715322 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -54,7 +54,7 @@ <%= call_hook(:view_projects_settings_members_table_row, { :project => @project, :member => member}) %> -<% end; reset_cycle %> +<% end %> <% else %> diff --git a/app/views/projects/settings/_versions.html.erb b/app/views/projects/settings/_versions.html.erb index 81f3d33..0c17144 100644 --- a/app/views/projects/settings/_versions.html.erb +++ b/app/views/projects/settings/_versions.html.erb @@ -36,7 +36,7 @@ <% end %> -<% end; reset_cycle %> +<% end %> <% else %> diff --git a/app/views/reports/_details.html.erb b/app/views/reports/_details.html.erb index 5841629..998089c 100644 --- a/app/views/reports/_details.html.erb +++ b/app/views/reports/_details.html.erb @@ -25,5 +25,4 @@ <% end %> -<% end - reset_cycle %> +<% end %> diff --git a/app/views/reports/_simple.html.erb b/app/views/reports/_simple.html.erb index c7c88af..d6f51ad 100644 --- a/app/views/reports/_simple.html.erb +++ b/app/views/reports/_simple.html.erb @@ -19,5 +19,4 @@ <% end %> -<% end - reset_cycle %> +<% end %> diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb index e84f428..1996692 100644 --- a/app/views/timelog/_list.html.erb +++ b/app/views/timelog/_list.html.erb @@ -17,7 +17,6 @@ <% grouped_query_results(entries, @query, @entry_count_by_group) do |entry, group_name, group_count, group_totals| -%> <% if group_name %> - <% reset_cycle %>