From f8ebb0c7157bc8157c72921a1ea54b94ab141bbf Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 5 Apr 2013 11:34:03 +1100 Subject: [PATCH] Rename split partial and update overrides --- app/overrides/split_products_by_distributor_on_home.rb | 4 ++-- .../split_products_by_distributor_on_products_home.rb | 6 +++--- .../split_products_by_distributor_on_products_search.rb | 6 +++--- .../split_products_by_distributor_on_taxons_show.rb | 6 +++--- ...ibutor.html.haml => _products_by_distribution.html.haml} | 0 5 files changed, 11 insertions(+), 11 deletions(-) rename app/views/spree/shared/{_products_by_distributor.html.haml => _products_by_distribution.html.haml} (100%) diff --git a/app/overrides/split_products_by_distributor_on_home.rb b/app/overrides/split_products_by_distributor_on_home.rb index 67a45f61b7..1481c17799 100644 --- a/app/overrides/split_products_by_distributor_on_home.rb +++ b/app/overrides/split_products_by_distributor_on_home.rb @@ -1,5 +1,5 @@ Deface::Override.new(:virtual_path => "spree/home/index", :replace => "[data-hook='homepage_products']", - :partial => "spree/shared/products_by_distributor", - :name => "split_products_by_distributor_on_home", + :partial => "spree/shared/products_by_distribution", + :name => "split_products_by_distribution_on_home", :original => '589053f6f3e534b0be729081bdfc0378beb29cca') diff --git a/app/overrides/split_products_by_distributor_on_products_home.rb b/app/overrides/split_products_by_distributor_on_products_home.rb index d21a61b150..b8f9d90e2b 100644 --- a/app/overrides/split_products_by_distributor_on_products_home.rb +++ b/app/overrides/split_products_by_distributor_on_products_home.rb @@ -1,5 +1,5 @@ Deface::Override.new(:virtual_path => "spree/products/index", :replace => "[data-hook='homepage_products']", - :partial => "spree/shared/products_by_distributor", - :name => "split_products_by_distributor_on_products_home", - :original => '22097416de0a5851d43c572301779de06ed84d17') \ No newline at end of file + :partial => "spree/shared/products_by_distribution", + :name => "split_products_by_distribution_on_products_home", + :original => '22097416de0a5851d43c572301779de06ed84d17') diff --git a/app/overrides/split_products_by_distributor_on_products_search.rb b/app/overrides/split_products_by_distributor_on_products_search.rb index 81204a8311..21937310da 100644 --- a/app/overrides/split_products_by_distributor_on_products_search.rb +++ b/app/overrides/split_products_by_distributor_on_products_search.rb @@ -1,5 +1,5 @@ Deface::Override.new(:virtual_path => "spree/products/index", :replace => "[data-hook='search_results']", - :partial => "spree/shared/products_by_distributor", - :name => "split_products_by_distributor_on_products_search", - :original => '5a764faee41bd3f2bb13b60bfeb61e63fede9fac') \ No newline at end of file + :partial => "spree/shared/products_by_distribution", + :name => "split_products_by_distribution_on_products_search", + :original => '5a764faee41bd3f2bb13b60bfeb61e63fede9fac') diff --git a/app/overrides/split_products_by_distributor_on_taxons_show.rb b/app/overrides/split_products_by_distributor_on_taxons_show.rb index 60459856e3..c2c9419391 100644 --- a/app/overrides/split_products_by_distributor_on_taxons_show.rb +++ b/app/overrides/split_products_by_distributor_on_taxons_show.rb @@ -1,5 +1,5 @@ Deface::Override.new(:virtual_path => "spree/taxons/show", :replace => "[data-hook='taxon_products']", - :partial => "spree/shared/products_by_distributor", - :name => "split_products_by_distributor_on_taxons_show", - :original => '27b6ecd3954022246568b3ddf5e80462aa511ece') \ No newline at end of file + :partial => "spree/shared/products_by_distribution", + :name => "split_products_by_distribution_on_taxons_show", + :original => '27b6ecd3954022246568b3ddf5e80462aa511ece') diff --git a/app/views/spree/shared/_products_by_distributor.html.haml b/app/views/spree/shared/_products_by_distribution.html.haml similarity index 100% rename from app/views/spree/shared/_products_by_distributor.html.haml rename to app/views/spree/shared/_products_by_distribution.html.haml