mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
PR changes - erb to haml, don't update en_GB translations
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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| %>
|
||||
@@ -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|
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user