mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Extract open shop message to partial
This commit is contained in:
@@ -6,8 +6,4 @@
|
||||
= render partial: "shop/closed_shop"
|
||||
|
||||
- else
|
||||
.content
|
||||
.row
|
||||
.small-12.columns
|
||||
.shopfront-message
|
||||
= current_distributor.preferred_shopfront_message.html_safe
|
||||
= render partial: "shop/messages/open_shop"
|
||||
|
||||
5
app/views/shop/messages/_open_shop.html.haml
Normal file
5
app/views/shop/messages/_open_shop.html.haml
Normal file
@@ -0,0 +1,5 @@
|
||||
.content
|
||||
.row
|
||||
.small-12.columns
|
||||
.shopfront-message
|
||||
= current_distributor.preferred_shopfront_message.html_safe
|
||||
Reference in New Issue
Block a user