Disabling buttons and some work on the price breakdowns, including commenting them out for now

This commit is contained in:
Will Marshall
2014-07-28 16:12:32 +10:00
parent 4ab781d74a
commit 39a79869c0
6 changed files with 48 additions and 47 deletions

View File

@@ -1,5 +1,6 @@
Darkswarm.controller "ProductsCtrl", ($scope, $rootScope, Products, OrderCycle, FilterSelectorsService) ->
Darkswarm.controller "ProductsCtrl", ($scope, $rootScope, Products, OrderCycle, FilterSelectorsService, Cart) ->
$scope.Products = Products
$scope.Cart = Cart
$scope.totalActive = FilterSelectorsService.totalActive
$scope.clearAll = FilterSelectorsService.clearAll
$scope.filterText = FilterSelectorsService.filterText

View File

@@ -4,12 +4,8 @@ Darkswarm.directive "priceBreakdown", ($tooltip)->
variant: "="
tooltip
Darkswarm.directive 'priceBreakdownPopup', ()->
Darkswarm.directive 'priceBreakdownPopup', ->
restrict: 'EA'
replace: true
templateUrl: 'price_breakdown.html'
scope: true
#link: (scope, elem, attrs)->
#angular.element($window).bind 'click', ->
#scope.tt_isOpen = false
#elem.remove()

View File

@@ -1,4 +1,4 @@
.joyride-tip-guide{"ng-class" => "{ in: isOpen(), fade: animation() }"}
.joyride-tip-guide{"ng-class" => "{ in: tt_isOpen, fade: tt_animation }"}
%span.joyride-nub.bottom
.joyride-content-wrapper
{{ variant.id }}