diff --git a/README.md b/README.md index b9f34ab..d8e3629 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,7 @@ Many thanks to Chris Beach and Angus McLeod who helped on the previous version o ## TODOs * Add a description/message -* Check against other themes -* Add billing info to confirm dialog +* Check against other themes (works ok with light and dark) * Validate the model properly. Not in the stripe component * Show the transaction on the thank you page. * Work out where to put the helper tests. Name collision! diff --git a/assets/javascripts/discourse/templates/components/donation-form.hbs b/assets/javascripts/discourse/templates/components/donation-form.hbs index cc39bdd..84115f3 100644 --- a/assets/javascripts/discourse/templates/components/donation-form.hbs +++ b/assets/javascripts/discourse/templates/components/donation-form.hbs @@ -2,17 +2,36 @@ {{#if confirmation}} {{#d-modal closeModal=(action "closeModal") modalStyle="inline-modal" title=(i18n "discourse_patrons.payment.payment_confirmation")}} {{#d-modal-body}} - - - - - - - - - -
{{i18n 'discourse_patrons.confirmation.amount'}}{{format-curency amount}}
{{i18n 'discourse_patrons.confirmation.last4'}}.... .... .... {{last4}}
- +
+
+ + + + + + + + + + + + + +
{{i18n 'discourse_patrons.billing.name'}}{{billing.email}}
{{i18n 'discourse_patrons.billing.email'}}{{billing.email}}
{{i18n 'discourse_patrons.billing.phone'}}{{billing.phone}}
+
+
+ + + + + + + + + +
{{i18n 'discourse_patrons.confirmation.amount'}}{{format-curency amount}}
{{i18n 'discourse_patrons.confirmation.last4'}}.... .... .... {{last4}}
+
+
{{/d-modal-body}}