mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
- Move from `enterprises/shop.html.haml` to `shopping_shared/_tabs.html.haml` to handle its position correctly - Remove marginTop and height to order cycle component and display it relative to parent's bottom (ie. the columns in `tab-buttons`) - Adjust z-index to display the entire component
27 lines
854 B
Plaintext
27 lines
854 B
Plaintext
- content_for(:title) do
|
|
= current_distributor.name
|
|
- content_for(:description) do
|
|
= current_distributor.description
|
|
- content_for(:image) do
|
|
= current_distributor.logo.url
|
|
|
|
- content_for :injection_data do
|
|
- cache(*CacheService::FragmentCaching.ams_shop(@enterprise)) do
|
|
= inject_enterprise_shopfront(@enterprise)
|
|
|
|
%shop.darkswarm
|
|
- if @shopfront_layout == 'embedded'
|
|
= render partial: 'shop/blocked_cookies'
|
|
|
|
.alert-box.changeable-orders-alert.info.animate-show{ ng: { show: "alert.visible && alert.html", cloak: true } }
|
|
%span{ ng: { bind: { html: "alert.html" } } }
|
|
%a.close{ ng: { click: "alert.close()" } } ×
|
|
|
|
- content_for :order_cycle_form do
|
|
= render partial: "change_order_cycle"
|
|
|
|
= render partial: "shopping_shared/header"
|
|
= render partial: "shopping_shared/tabs"
|
|
|
|
= render partial: "shared/footer"
|