From a87fcae1494bf0ec682217685f2256bda79371db Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Thu, 12 Sep 2019 13:46:30 +1000 Subject: [PATCH] a little formatting --- .../discourse/templates/components/donation-form.hbs | 8 ++++---- config/locales/client.en.yml | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/discourse/templates/components/donation-form.hbs b/assets/javascripts/discourse/templates/components/donation-form.hbs index eef6078..2f97341 100644 --- a/assets/javascripts/discourse/templates/components/donation-form.hbs +++ b/assets/javascripts/discourse/templates/components/donation-form.hbs @@ -2,14 +2,14 @@ {{#if confirmation}} {{#d-modal closeModal=(action "closeModal") modalStyle="inline-modal" title=(i18n "discourse_patrons.confirm")}} {{#d-modal-body}} - +
- + - - + +
Amount{{i18n 'discourse_patrons.confirmation.amount'}} {{amount}}
Card.... .... .... {{last4}}{{i18n 'discourse_patrons.confirmation.last4'}}.... .... .... {{last4}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 6ee4830..4132098 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -24,3 +24,6 @@ en: invoice: "invoice" invoice_prefix: "You gave" receipt: "Receipt sent to {{email}}." + confirmation: + amount: Amount $ + last4: Card number