From 94fbb624f5fe61e76d2d53b0d6fe13e5753e40d8 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 5 Sep 2014 12:14:55 +1000 Subject: [PATCH] Make CTA links separate from hub link styling --- .../javascripts/templates/partials/hub_actions.html.haml | 2 +- .../javascripts/templates/partials/hub_details.html.haml | 4 ++-- app/assets/stylesheets/darkswarm/modal-enterprises.css.sass | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/templates/partials/hub_actions.html.haml b/app/assets/javascripts/templates/partials/hub_actions.html.haml index 42492ad06e..42a8b8cd28 100644 --- a/app/assets/javascripts/templates/partials/hub_actions.html.haml +++ b/app/assets/javascripts/templates/partials/hub_actions.html.haml @@ -4,7 +4,7 @@ Shop for %strong {{enterprise.name}} products at: - %a.hub{"ng-repeat" => "hub in enterprise.hubs", + %a.cta-hub{"ng-repeat" => "hub in enterprise.hubs", "bo-href" => "hub.path", "bo-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"} diff --git a/app/assets/javascripts/templates/partials/hub_details.html.haml b/app/assets/javascripts/templates/partials/hub_details.html.haml index 73786bf631..43e75dbbd2 100644 --- a/app/assets/javascripts/templates/partials/hub_details.html.haml +++ b/app/assets/javascripts/templates/partials/hub_details.html.haml @@ -2,7 +2,7 @@ .cta-container.small-12.columns .row .small-4.columns - %label{"active-table-hub-link" => "enterprise", change: "Change hub to:", shop: "Shop now at:"} + %label{"active-table-hub-link" => "enterprise", change: "Change shop to:", shop: "Shop now at:"} .small-8.columns.right %label.right{"bo-if" => "enterprise.pickup || enterprise.delivery"} Delivery options: @@ -14,7 +14,7 @@ Delivery .row .columns.small-12 - %a.hub{"bo-href" => "enterprise.path", + %a.cta-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"} diff --git a/app/assets/stylesheets/darkswarm/modal-enterprises.css.sass b/app/assets/stylesheets/darkswarm/modal-enterprises.css.sass index 6f86566dd3..2009381daa 100644 --- a/app/assets/stylesheets/darkswarm/modal-enterprises.css.sass +++ b/app/assets/stylesheets/darkswarm/modal-enterprises.css.sass @@ -100,7 +100,7 @@ span text-transform: capitalize - .hub + .cta-hub margin-right: 2rem margin-top: 0rem margin-bottom: 0.75rem