diff --git a/app/views/payment_mailer/authorize_payment.html.haml b/app/views/payment_mailer/authorize_payment.html.haml index 438a51c416..ea25e0e7b4 100644 --- a/app/views/payment_mailer/authorize_payment.html.haml +++ b/app/views/payment_mailer/authorize_payment.html.haml @@ -1,2 +1,2 @@ -= t('.instructions', distributor: @payment.order.distributor.name, amount: @payment.display_amount) -= main_app.authorize_payment_url(@payment) += t('spree.payment_mailer.authorize_payment.instructions', distributor: @payment.order.distributor.name, amount: @payment.display_amount) += link_to main_app.authorize_payment_url(@payment), main_app.authorize_payment_url(@payment) diff --git a/app/views/payment_mailer/authorize_payment.text.haml b/app/views/payment_mailer/authorize_payment.text.haml index 956e63ec9f..39ca5e3dbc 100644 --- a/app/views/payment_mailer/authorize_payment.text.haml +++ b/app/views/payment_mailer/authorize_payment.text.haml @@ -1,3 +1,3 @@ -= t('.instructions', distributor: @payment.order.distributor.name, amount: @payment.display_amount) += t('spree.payment_mailer.authorize_payment.instructions', distributor: @payment.order.distributor.name, amount: @payment.display_amount) -= main_app.authorize_payment_url(@payment) += link_to main_app.authorize_payment_url(@payment), main_app.authorize_payment_url(@payment)