From 932604bd69f7d6f53164dd1b6d6ccc25d74a42c4 Mon Sep 17 00:00:00 2001 From: summerscope Date: Thu, 15 Jan 2015 16:01:00 +1100 Subject: [PATCH] Add in logic to style price column differently if nul vs has value --- app/assets/javascripts/templates/shop_variant.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/templates/shop_variant.html.haml b/app/assets/javascripts/templates/shop_variant.html.haml index b1538bb69e..6d050d0bde 100644 --- a/app/assets/javascripts/templates/shop_variant.html.haml +++ b/app/assets/javascripts/templates/shop_variant.html.haml @@ -58,5 +58,5 @@ .small-12.medium-2.large-2.columns.total-price.text-right .table-cell - %strong + %strong{"ng-class" => "{filled: variant.totalPrice()}"} {{ variant.totalPrice() | localizeCurrency }}