mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
We need to re-use the "shopping_shared/header" partial in multiple places, but we don't always want the (nested) order cycle sidebar inside it.
14 lines
374 B
Plaintext
14 lines
374 B
Plaintext
- distributor = @order.andand.distributor || current_distributor
|
|
|
|
%navigation
|
|
%distributor.details.row
|
|
.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
|
|
|
|
= yield :ordercycle_sidebar
|