template updates for modals - links not buttons

This commit is contained in:
summerscope
2014-09-05 11:38:19 +10:00
parent a4aa949499
commit 116eb6a2c6
2 changed files with 6 additions and 6 deletions

View File

@@ -4,13 +4,13 @@
Shop for
%strong {{enterprise.name}}
products at:
%a.button.hub{"ng-repeat" => "hub in enterprise.hubs",
%a.hub{"ng-repeat" => "hub in enterprise.hubs",
"bo-href" => "hub.path",
"bo-class" => "{primary: hub.active, secondary: !hub.active}",
"ofn-empties-cart" => "hub"}
%i.ofn-i_033-open-sign{"bo-if" => "hub.active"}
%i.ofn-i_032-closed-sign{"bo-if" => "!hub.active"}
{{hub.name}}
.hub-name {{hub.name}}
.button-address {{ hub.address.city }} , {{hub.address.state_name}}
%i.ofn-i_007-caret-right
/ %i.ofn-i_007-caret-right

View File

@@ -14,11 +14,11 @@
Delivery
.row
.columns.small-12
%a.button.hub.expand{"bo-href" => "enterprise.path",
%a.hub{"bo-href" => "enterprise.path",
"ng-class" => "{primary: enterprise.active, secondary: !enterprise.active}",
"ofn-empties-cart" => "enterprise"}
%i.ofn-i_033-open-sign{"bo-if" => "enterprise.active"}
%i.ofn-i_032-closed-sign{"bo-if" => "!enterprise.active"}
{{enterprise.name}}
.hub-name {{enterprise.name}}
.button-address {{ enterprise.address.city }} , {{enterprise.address.state_name}}
%i.ofn-i_007-caret-right
/ %i.ofn-i_007-caret-right