mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
- content_for(:title) do
|
|
= current_distributor.name
|
|
- content_for(:description) do
|
|
= current_distributor.description
|
|
- content_for(:image) do
|
|
= url_for(current_distributor.logo) if current_distributor.logo.attached?
|
|
|
|
- content_for :injection_data do
|
|
- cache(*CacheService::FragmentCaching.ams_shop(@enterprise)) do
|
|
= inject_enterprise_shopfront(@enterprise)
|
|
- cache(*CacheService::FragmentCaching.ams_all_taxons) do
|
|
= inject_taxons
|
|
- cache(*CacheService::FragmentCaching.ams_all_properties) do
|
|
= inject_properties
|
|
|
|
%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", "ng-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"
|