Minor tweaks

This commit is contained in:
Will Marshall
2014-03-14 15:34:18 +11:00
parent 7dd2366c22
commit c01b198f95
3 changed files with 5 additions and 5 deletions

View File

@@ -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()

View File

@@ -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

View File

@@ -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