From a84de2c87660b9b989e190bd27aa276fdc470cd3 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Mon, 27 Feb 2017 13:45:26 +1100 Subject: [PATCH] settings for public and private key --- assets/javascripts/discourse/templates/user/payments.hbs | 3 +++ config/locales/client.de.yml | 2 ++ config/locales/client.en.yml | 2 ++ config/settings.yml | 6 ++++++ 4 files changed, 13 insertions(+) diff --git a/assets/javascripts/discourse/templates/user/payments.hbs b/assets/javascripts/discourse/templates/user/payments.hbs index 229f783..582ce4a 100644 --- a/assets/javascripts/discourse/templates/user/payments.hbs +++ b/assets/javascripts/discourse/templates/user/payments.hbs @@ -1,3 +1,6 @@ + +{{siteSettings.discourse_donations_secret_key}} + {{#d-section pageClass="user-donations" class="user-content user-donations"}}
diff --git a/config/locales/client.de.yml b/config/locales/client.de.yml index 79ea61b..513e574 100644 --- a/config/locales/client.de.yml +++ b/config/locales/client.de.yml @@ -6,3 +6,5 @@ en: card: Kreditkarte oder Bankkarte success: Bezahlung erfolgreich ! submit: Spende bezahlen + secret_key: Secret Key + public_key: Public Key diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 23708ec..8df9394 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -6,3 +6,5 @@ en: card: Credit or debit card success: Payment Successful! submit: Make Payment + secret_key: Secret Key + public_key: Public Key diff --git a/config/settings.yml b/config/settings.yml index b66dd35..3734f51 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -2,3 +2,9 @@ plugins: discourse_donations_enabled: default: true client: true + discourse_donations_secret_key: + type: text + client: true + discourse_donations_public_key: + type: text + client: true