rename donate to tip

pull/3/head
lance 5 years ago
parent 5376709c7f
commit 668650909f

@ -70,6 +70,6 @@
display: block;
}
#donation-address {
#tip-address {
width: 90%;
}

@ -1160,7 +1160,7 @@ New color: fd4e05
list-style: none;
}
#donation-address {
#tip-address {
text-align: center;
width: 100%;
overflow-wrap: break-word;

@ -156,12 +156,12 @@
<footer id="footer">
<div class="container">
<ul class="copyright">
<li><a href="{% url 'get_faqs' %}">Privacy</a></li>
<li><a href="{% url 'get_privacy' %}">Terms</a></li>
<li><a href="{% url 'get_terms' %}">FAQ</a></li>
<li><a href="{% url 'get_privacy' %}">Privacy</a></li>
<li><a href="{% url 'get_terms' %}">Terms</a></li>
<li><a href="{% url 'get_faqs' %}">FAQ</a></li>
</ul>
<hr>
<p id="donation-address"><strong>Donation Address</strong>:<br> {{ site_meta.donation_address }}{% if site_meta.debug %} (stage){% endif %}</p>
<p id="tip-address"><strong>Tip Address</strong>:<br> {{ site_meta.tip_address }}{% if site_meta.debug %} (stage){% endif %}</p>
</div>
</footer>

@ -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 }}!

@ -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
}
}

@ -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)