Update order cycle selection box

This commit is contained in:
Matt-Yorkley
2020-01-08 13:05:09 +01:00
parent 0f2e23d225
commit 4b0e1610ec
3 changed files with 8 additions and 3 deletions

View File

@@ -2,14 +2,13 @@
%navigation
%distributor.details.row
.small-12.medium-6.large-6.columns
.small-12.medium-12.large-8.columns
#distributor_title
- if distributor.logo?
%img.left{src: distributor.logo.url(:thumb)}
%h3
= distributor.name
%location= distributor.address.city
/ Will this needs to be a drop-down to choose either pick-up point or delivery once shipping methods are implemented
.small-12.medium-6.large-6.columns
.show-for-large-up.large-4.columns
= render partial: "shopping_shared/order_cycles"

View File

@@ -1,3 +1,6 @@
%script{ type: "text/ng-template", id: "shop/home.html" }
.order-cycle-bar.hide-for-large-up.small-12.columns
= render partial: "shopping_shared/order_cycles"
.content
= render partial: 'shop/messages'

View File

@@ -1,4 +1,7 @@
%script{ type: "text/ng-template", id: "shop/shop.html" }
.order-cycle-bar.hide-for-large-up.small-12.columns
= render partial: "shopping_shared/order_cycles"
.row
.small-12.columns
- if no_open_order_cycles?