Implement donations
This commit is contained in:
11
templates/donate/index.html
Normal file
11
templates/donate/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'base_simple.html'%}
|
||||
|
||||
{% block content %}
|
||||
<p>Donating to caminus helps keep us alive!</p>
|
||||
<p>All donations recieve 2000gr per $1 USD. You must be logged in before donating to recieve this.</p>
|
||||
<form method="POST">
|
||||
{{form.as_p}}
|
||||
{%csrf_token%}
|
||||
<input type="submit"/>
|
||||
</form>
|
||||
{% endblock %}
|
3
templates/notification/donation_paid/full.txt
Normal file
3
templates/notification/donation_paid/full.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
We have recieved a donation of {{donation.quantity}} through Dwolla.
|
||||
|
||||
Your account has been credited {{credit}}gr.
|
Reference in New Issue
Block a user