From 864b61834f96aaa5462d8b947aa386fda5f68d82 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Tue, 19 Dec 2023 18:16:00 +0100 Subject: [PATCH] Cleaner donate methods - Add OpenCollective - Show PayPal earlier - Hide Apple Pay if it's not supported - Show Google Pay only on Desktop and Android Chrome - Change Visa logo to Visa + MC - Remove all crypto buttons except Bitcoin Signed-off-by: Alexander Borsuk --- static/images/donates/opencollective.svg | 1 + static/images/donates/visa_mc.svg | 1 + templates/shortcodes/donate_buttons.html | 67 +++++++++++++++++++----- 3 files changed, 57 insertions(+), 12 deletions(-) create mode 100644 static/images/donates/opencollective.svg create mode 100644 static/images/donates/visa_mc.svg diff --git a/static/images/donates/opencollective.svg b/static/images/donates/opencollective.svg new file mode 100644 index 00000000..c8b3db1b --- /dev/null +++ b/static/images/donates/opencollective.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/donates/visa_mc.svg b/static/images/donates/visa_mc.svg new file mode 100644 index 00000000..1a206314 --- /dev/null +++ b/static/images/donates/visa_mc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/shortcodes/donate_buttons.html b/templates/shortcodes/donate_buttons.html index 1b360ab0..d19db742 100644 --- a/templates/shortcodes/donate_buttons.html +++ b/templates/shortcodes/donate_buttons.html @@ -3,9 +3,13 @@ По карте МИР в рублях Telegram по карте МИР в рублях {% endif -%} - Credit/Debit Card - Apple Pay - Google Pay + Credit/Debit Card + Apple Pay + Google Pay +
+ + +
giropay {%- if lang != 'ru' %} iDeal @@ -16,15 +20,54 @@ LiberaPay GitHub Sponsors Patreon -
- - -
+ OpenCollective BanContact EPS - Bitcoin - Ethereum - Monero - Tron - ZCash + Bitcoin, Ethereum, Monero, Tron, ZCash and other crypto +