From 0fa289a443800bb9d281cf18679297fbfb525ee3 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Fri, 19 Dec 2014 11:00:17 +1100 Subject: [PATCH] Changing shopfront message into an alert box --- app/views/shop/_messages.html.haml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/shop/_messages.html.haml b/app/views/shop/_messages.html.haml index 1cca55bb35..1e56aba468 100644 --- a/app/views/shop/_messages.html.haml +++ b/app/views/shop/_messages.html.haml @@ -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()" } } ×