From 96a273bf55e779560faed8f2a6409666541f0f04 Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Wed, 8 Jan 2014 17:07:30 +0100 Subject: [PATCH] Removes superfluous view hook --- ...work_packages_show_details_bottom.html.erb | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 app/views/hooks/costs/_view_work_packages_show_details_bottom.html.erb diff --git a/app/views/hooks/costs/_view_work_packages_show_details_bottom.html.erb b/app/views/hooks/costs/_view_work_packages_show_details_bottom.html.erb deleted file mode 100644 index a4f5f3f3ac..0000000000 --- a/app/views/hooks/costs/_view_work_packages_show_details_bottom.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -<% if @project.module_enabled?(:costs_module) && issue %> - <%# Only render this partial, if the plugin is enabled for the current project %> - - - <% attributes_array = cost_work_package_attributes(issue) %> - <% (0..(attributes_array.size - 1)).step(2) do |i| %> - - - <%= attributes_array[i].first %>: - - - <%= attributes_array[i].to_a.last %> - - <% if i + 1 < attributes_array.size %> - - <%= attributes_array[i + 1].first %>: - - - <%= attributes_array[i + 1].to_a.last %> - - <% end %> - - <% end %> -<% end %>