Add de-activation warning to payment methods edit page

This commit is contained in:
Luis Ramos
2020-05-13 16:32:51 +01:00
parent 26f1dfb080
commit fe6bcb5093
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
= admin_inject_payment_method
= admin_inject_json_ams_array "admin.paymentMethods", "shops", @hubs, Api::Admin::BasicEnterpriseSerializer
%div.alpha.eleven.columns{ "ng-app" => "admin.paymentMethods", "ng-controller" => "paymentMethodCtrl" }
.alpha.eleven.columns{ "ng-app" => "admin.paymentMethods", "ng-controller" => "paymentMethodCtrl" }
.row
= t '.deactivation_warning'
.row
.alpha.three.columns
= label_tag nil, t(:name)

View File

@@ -3275,6 +3275,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
both: "Both Checkout and Back office"
front_end: "Checkout only"
back_end: "Back office only"
deactivation_warning: "De-activating a payment method can make the payment method disappear from your list. Alternatively, you can hide a payment method from the checkout page by setting the option 'Display' to 'back office only'."
payments:
source_forms:
stripe: