From 668650909f98c8fccf24da81795232ae9a8b8412 Mon Sep 17 00:00:00 2001 From: lance Date: Sun, 19 Jan 2020 23:41:13 -0800 Subject: [PATCH] rename donate to tip --- web/static/css/style-small.css | 2 +- web/static/css/style.css | 2 +- web/templates/base.html | 8 ++++---- web/templates/sales/notify/sale_completed/seller/body.txt | 2 +- xmrauctions/context_processors.py | 2 +- xmrauctions/settings.py | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/static/css/style-small.css b/web/static/css/style-small.css index b3464f2..4ce1782 100644 --- a/web/static/css/style-small.css +++ b/web/static/css/style-small.css @@ -70,6 +70,6 @@ display: block; } -#donation-address { +#tip-address { width: 90%; } diff --git a/web/static/css/style.css b/web/static/css/style.css index 0f6ec93..81c5472 100644 --- a/web/static/css/style.css +++ b/web/static/css/style.css @@ -1160,7 +1160,7 @@ New color: fd4e05 list-style: none; } -#donation-address { +#tip-address { text-align: center; width: 100%; overflow-wrap: break-word; diff --git a/web/templates/base.html b/web/templates/base.html index 9d7b565..2832d3a 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -156,12 +156,12 @@ diff --git a/web/templates/sales/notify/sale_completed/seller/body.txt b/web/templates/sales/notify/sale_completed/seller/body.txt index 0f64ee9..8fedb38 100644 --- a/web/templates/sales/notify/sale_completed/seller/body.txt +++ b/web/templates/sales/notify/sale_completed/seller/body.txt @@ -2,6 +2,6 @@ Congratulations {{ sale.item.owner }}, The sale of your item, "{{ sale.item.name }}" (#{{ sale.item.id }}), has concluded. The agreed upon bid price minus any network fees has been transferred to the payout address provided when posting the item. -In a few more minutes post-processing will complete, the platform will collect any fees, and the sale, item, and bids will all be removed from the system. If you had a good experience, please consider donating to the development fund. The address can be found at the bottom of the {{ site_name }} site pages. +In a few more minutes post-processing will complete, the platform will collect any fees, and the sale, item, and bids will all be removed from the system. If you had a good experience, please consider sending a tip to the development fund. The address can be found at the bottom of the {{ site_name }} site pages. Thanks for using {{ site_name }}! diff --git a/xmrauctions/context_processors.py b/xmrauctions/context_processors.py index 879ce18..dc9c287 100644 --- a/xmrauctions/context_processors.py +++ b/xmrauctions/context_processors.py @@ -6,7 +6,7 @@ def inject_site_meta(request): 'site_meta': { 'debug': settings.DEBUG, 'name': settings.SITE_NAME, - 'donation_address': settings.DONATION_WALLET_ADDRESS, + 'tip_address': settings.TIP_WALLET_ADDRESS, 'platform_address': settings.PLATFORM_WALLET_ADDRESS } } diff --git a/xmrauctions/settings.py b/xmrauctions/settings.py index 3f280a9..afcce89 100644 --- a/xmrauctions/settings.py +++ b/xmrauctions/settings.py @@ -253,4 +253,4 @@ if aw.connected is True: platform_wallet_address = str(aw.wallet.accounts[0].address()) PLATFORM_WALLET_ADDRESS = os.environ.get('PLATFORM_WALLET_ADDRESS', platform_wallet_address) -DONATION_WALLET_ADDRESS = os.environ.get('DONATION_ADDRESS', PLATFORM_WALLET_ADDRESS) +TIP_WALLET_ADDRESS = os.environ.get('TIP_ADDRESS', PLATFORM_WALLET_ADDRESS)