From 24f147d81d16bed588ec0ba098dc10a528eeadfa Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Thu, 19 Jun 2014 14:38:05 +1000 Subject: [PATCH] Adding pickup and delivery --- .../javascripts/templates/map_modal_hub.html.haml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/templates/map_modal_hub.html.haml b/app/assets/javascripts/templates/map_modal_hub.html.haml index 80089a4f8e..d722854475 100644 --- a/app/assets/javascripts/templates/map_modal_hub.html.haml +++ b/app/assets/javascripts/templates/map_modal_hub.html.haml @@ -20,7 +20,16 @@ .row{bindonce: true} .modal-hubs - %h5 Shop at: + %h5 + %span{"active-table-hub-link" => "enterprise", change: "Change hub to:", shop: "Shop at:"} + %ul.right + %li.pickup{"bo-if" => "enterprise.pickup"} + %i.ofn-i_038-takeaway + Pickup + %li.delivery{"bo-if" => "enterprise.delivery"} + %i.ofn-i_039-delivery + Delivery + %a.button.hub{"bo-href" => "enterprise.path", "bo-class" => "{primary: enterprise.active, grey: !enterprise.active}", "ofn-empties-cart" => "enterprise"}