mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Disabling buttons and some work on the price breakdowns, including commenting them out for now
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user