From ad32147576c8c192c5649eefe36a95bb30a604d0 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 5 Apr 2013 14:30:35 +1100 Subject: [PATCH] Display correct product splitting criteria --- app/views/spree/shared/_products_by_distribution.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/spree/shared/_products_by_distribution.html.haml b/app/views/spree/shared/_products_by_distribution.html.haml index d7ba771c8f..2bc3088adb 100644 --- a/app/views/spree/shared/_products_by_distribution.html.haml +++ b/app/views/spree/shared/_products_by_distribution.html.haml @@ -5,7 +5,10 @@ #products= render 'spree/shared/products', :products => @products, :taxon => @taxon - else #products-local - %h2= "Products at #{current_distributor.name}" + %h2 + Products + = "in #{current_order_cycle.name}" if current_order_cycle + = "at #{current_distributor.name}" if current_distributor = render 'spree/shared/products', :products => @products_local, :taxon => @taxon #products-remote %h2 Products found elsewhere