annotate templates/donate/index.html @ 472:ef6da0fd2a0c

donate: new page to route donations to conservancy This isn't linked to yet because I want to confirm with conservancy that this is still the right way to link to them for PayPal donations, because it's surprising to me that the linked page doesn't mention a project name or have a memo field.
author Augie Fackler <raf@durin42.com>
date Fri, 23 Dec 2016 11:06:02 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
472
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
1 {% extends "base.html" %}
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
2
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
3 {% block main %}
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
4
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
5 <!-- TODO(durin42): move this js someplace better -->
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
6 <script type="text/javascript">
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
7 function validateAmount(amount){
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
8 if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
9 return true;
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
10 }else{
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
11 alert('You must enter a valid donation.');
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
12 amount.focus();
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
13 return false;
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
14 }
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
15 }
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
16 </script>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
17
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
18 <h1>Project Donations</h1>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
19
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
20 <p>Mercurial is a volunteer-run free-software project that is a
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
21 member of
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
22 the <a href='http://www.sfconservancy.org/'>Software
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
23 Freedom Conservancy</a>, a US tax-exempt 501(c)(3) organization.
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
24 Donations are tax-deductable.
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
25
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
26 <h2>General donations</h2>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
27 <p>Donations to the general fund will be used to sponsor project
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
28 activities such as sprints and conference attendance:</p>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
29
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
30 <table border=1>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
31 <td><b>PayPal</b></td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
32 <td><b>Check</b></td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
33 <td><b>Wire Transfer</b></td></tr>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
34 <tr>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
35 <td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
36 <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
37 <input type="hidden" name="cmd" value="_s-xclick">
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
38 <input type="hidden" name="hosted_button_id" value="1578269">
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
39 <input type="image"
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
40 src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif"
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
41 border="0" name="submit" alt="">
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
42 <img alt="" border="0"
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
43 src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1"
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
44 height="1">
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
45 </form>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
46 </td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
47 <td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
48 <b>Software Freedom Conservancy, Inc.</b><br>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
49 137 Montague Street STE 380<br>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
50 Brooklyn, NY 11201-3548<br>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
51 <i>memo: Directed donation: Mercurial</i>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
52 </p>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
53 </td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
54 <td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
55 Please write
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
56 to <a href='mailto:accounting@sfconservancy.org'>accounting@sfconservancy.org</a>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
57 for details.</p>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
58 </td>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
59 </tr>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
60 </table>
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
61
ef6da0fd2a0c donate: new page to route donations to conservancy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
62 {% endblock %}