From 2379861c92a5588a233ee48ced419e1fd2ecbaf6 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 26 Apr 2013 10:16:51 +1000 Subject: [PATCH] Shrink local organics local/remote product heading --- .../shared/_products_by_distributor/local.html.haml.deface | 3 +++ .../shared/_products_by_distributor/remote.html.haml.deface | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/local.html.haml.deface create mode 100644 lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/remote.html.haml.deface diff --git a/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/local.html.haml.deface b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/local.html.haml.deface new file mode 100644 index 0000000000..f63276ec91 --- /dev/null +++ b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/local.html.haml.deface @@ -0,0 +1,3 @@ +/ replace_contents '#products-local' +%h5= "Products at #{current_distributor.name}" += render 'spree/shared/products', :products => @products_local, :taxon => @taxon diff --git a/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/remote.html.haml.deface b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/remote.html.haml.deface new file mode 100644 index 0000000000..fa27ef4f1a --- /dev/null +++ b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/remote.html.haml.deface @@ -0,0 +1,3 @@ +/ replace_contents '#products-remote' +%h5 Products found elsewhere += render 'spree/shared/products', :products => @products_remote, :taxon => @taxon