mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Changing shopfront message into an alert box
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
- if @order_cycles and @order_cycles.empty?
|
||||
- if current_distributor.preferred_shopfront_closed_message.present?
|
||||
.row
|
||||
@@ -7,5 +8,9 @@
|
||||
- elsif current_distributor.preferred_shopfront_message.present?
|
||||
.row
|
||||
.small-12.columns
|
||||
.shopfront_message
|
||||
|
||||
.row
|
||||
.small-12.columns
|
||||
.alert-box{ "ofn-inline-alert" => true, ng: { show: "visible" } }
|
||||
= current_distributor.preferred_shopfront_message.html_safe
|
||||
%a.close{ ng: { click: "close()" } } ×
|
||||
|
||||
Reference in New Issue
Block a user