mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Minor tweaks
This commit is contained in:
@@ -19,7 +19,7 @@ angular.module("Checkout").controller "CheckoutCtrl", ($scope, $rootScope, order
|
||||
$scope.order.shipping_methods[$scope.order.shipping_method_id]
|
||||
|
||||
$scope.shippingMethodChanged = ->
|
||||
$scope.require_ship_address = $scope.shippingMethod().require_ship_address
|
||||
$scope.require_ship_address = $scope.shippingMethod().require_ship_address if $scope.shippingMethod()
|
||||
|
||||
$scope.purchase = (event)->
|
||||
event.preventDefault()
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
%img.about.right{src: @distributor.promo_image.url(:large)}
|
||||
%p= @distributor.long_description.andand.html_safe
|
||||
|
||||
.panel
|
||||
= @distributor.distributor_info.andand.html_safe
|
||||
-#.panel
|
||||
-#= @distributor.distributor_info.andand.html_safe
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
%p
|
||||
%strong E
|
||||
%a{href: "mailto:#{@distributor.email}"}= @distributor.email
|
||||
|
||||
- unless @distributor.website.blank?
|
||||
%br
|
||||
%strong W
|
||||
%a{href: @distributor.website}= @distributor.website
|
||||
|
||||
%br
|
||||
= [@distributor.address.address1, @distributor.address.address2].join ", "
|
||||
%br
|
||||
= @distributor.address.city
|
||||
|
||||
Reference in New Issue
Block a user