Changing shopfront message into an alert box

This commit is contained in:
Rob Harrington
2014-12-19 11:00:17 +11:00
parent fcb14f32d2
commit 0fa289a443

View File

@@ -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()" } } ×