PR changes - erb to haml, don't update en_GB translations

This commit is contained in:
stveep
2018-07-21 18:13:28 +01:00
parent b3da7049c6
commit c0f41b6833
4 changed files with 4 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ angular.module("admin.payments").controller "PaymentCtrl", ($scope, Payment, Sta
$scope.StatusMessage = StatusMessage
$scope.submitPayment = () ->
return false if $scope.submitted == true
return false if $scope.submitted
$scope.submitted = true
StatusMessage.display 'progress', t("spree.admin.payments.source_forms.stripe.submitting_payment")
Payment.purchase()

View File

@@ -1,4 +0,0 @@
<!-- replace 'code[erb-loud]:contains("form_for @payment")' -->
<%= form_for @payment, :url => admin_order_payments_path(@order),
:html => {"ng-app" => "admin.payments",
"ng-controller" => "PaymentCtrl"} do |f| %>

View File

@@ -0,0 +1,2 @@
/replace 'code[erb-loud]:contains("form_for @payment")'
= form_for @payment, :url => admin_order_payments_path(@order), :html => {"ng-app" => "admin.payments", "ng-controller" => "PaymentCtrl"} do |f|

View File

@@ -2380,9 +2380,7 @@ en_GB:
payments:
source_forms:
stripe:
error_saving_payment: Error saving payment
submitting_payment: Submitting payment...
no_payment_via_admin_backend: Creating Stripe-based payments from the admin backend is not possible at this time
products:
new:
title: 'New Product'