From 116eb6a2c6fcf7471b9747b25402f1d9533268f4 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 5 Sep 2014 11:38:19 +1000 Subject: [PATCH] template updates for modals - links not buttons --- .../javascripts/templates/partials/hub_actions.html.haml | 6 +++--- .../javascripts/templates/partials/hub_details.html.haml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/templates/partials/hub_actions.html.haml b/app/assets/javascripts/templates/partials/hub_actions.html.haml index 54b8ee98b1..42492ad06e 100644 --- a/app/assets/javascripts/templates/partials/hub_actions.html.haml +++ b/app/assets/javascripts/templates/partials/hub_actions.html.haml @@ -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 diff --git a/app/assets/javascripts/templates/partials/hub_details.html.haml b/app/assets/javascripts/templates/partials/hub_details.html.haml index 8de1039f10..73786bf631 100644 --- a/app/assets/javascripts/templates/partials/hub_details.html.haml +++ b/app/assets/javascripts/templates/partials/hub_details.html.haml @@ -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