mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Move "shop messages" and product list from main view into new "Home" and "Shop" tabs
This commit is contained in:
@@ -38,9 +38,4 @@
|
||||
|
||||
= render partial: "shopping_shared/details"
|
||||
|
||||
= render partial: 'shop/messages'
|
||||
|
||||
- unless require_customer?
|
||||
.row= render partial: "shop/products/form"
|
||||
|
||||
= render partial: "shared/footer"
|
||||
|
||||
2
app/views/shopping_shared/tabs/_home.html.haml
Normal file
2
app/views/shopping_shared/tabs/_home.html.haml
Normal file
@@ -0,0 +1,2 @@
|
||||
%script{ type: "text/ng-template", id: "shop/home.html" }
|
||||
= render partial: 'shop/messages'
|
||||
4
app/views/shopping_shared/tabs/_shop.html.haml
Normal file
4
app/views/shopping_shared/tabs/_shop.html.haml
Normal file
@@ -0,0 +1,4 @@
|
||||
%script{ type: "text/ng-template", id: "shop/shop.html" }
|
||||
- unless require_customer?
|
||||
.row
|
||||
= render partial: "shop/products/form"
|
||||
Reference in New Issue
Block a user