Skip to content

Commit

Permalink
Add Open Collective to improve transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Jul 17, 2019
1 parent a25ee04 commit 6b2cf0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 100 deletions.
41 changes: 6 additions & 35 deletions donation.tt
@@ -1,39 +1,9 @@
[%# Fragment imported in other pages. %]
<p>You can donate to the NixOS foundation by using the PayPal button below:</p>
<p>You can donate to the NixOS foundation by using Open Collective:</p>

<p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="hidden" name="hosted_button_id" value="AR3G7EP9QNZYS"/>
<input type="image" src="https://www.paypalobjects.com/en_US/NL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
<img alt="" border="0" src="https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width="1" height="1"/>
</form>
</p>
<object type="image/svg+xml" data="https://opencollective.com/nixos/tiers/supporter.svg?avatarHeight=80&amp;width=1000"></object>

<p>It is also possible to set up a monthly donation:</p>

<p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="hidden" name="hosted_button_id" value="CJTT5J5NWCQRA"/>
<table>
<tr><td><input type="hidden" name="on0" value=""/></td></tr><tr><td><select name="os0">
<option value="Bronze">Bronze : €5,00 EUR - monthly</option>
<option value="Silver">Silver : €10,00 EUR - monthly</option>
<option value="Gold">Gold : €25,00 EUR - monthly</option>
<option value="Platinum">Platinum : €50,00 EUR - monthly</option>
<option value="Diamond">Diamond : €100,00 EUR - monthly</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="EUR"/>
<input type="image" src="https://www.paypalobjects.com/en_US/NL/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
<img alt="" border="0" src="https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width="1" height="1"/>
</form>
</p>

<p><i>PayPal charges per transaction: €0.35 + 1.5% of the transaction</i></p>

<p>The NixOS Foundation also accepts donations via bank transfer. Please send payments to:</p>
<p>The NixOS Foundation also accepts donations via SEPA bank transfer. Please send payments to:</p>

<pre class="code">
Stichting NixOS Foundation, De Meern, The Netherlands
Expand All @@ -44,5 +14,6 @@ BIC: KNABNL2H

<p>Please add your name and purpose (donation) in the description of the transfer!</p>

<p>If you would like to support us for amounts above 2000 euro per year, please contact us at <a
href="mailto:foundation@nixos.org">foundation@nixos.org</a>, as this will have tax implications.</p>
<i>If you would like to support us for amounts above 2000 euro per year, please contact us at
<a href="mailto:foundation@nixos.org">foundation@nixos.org</a>, as this will have tax implications.
</i>
71 changes: 6 additions & 65 deletions nixos/foundation.tt
Expand Up @@ -2,7 +2,12 @@
[% PROCESS common.tt %]

<div class="row-fluid">
<div class="span6">
<div class="span9">

<h3>Donations</h3>

[% PROCESS donation.tt %]

<h2>About The Foundation</h2>

<p>The mission of the foundation is to support the Nix ecosystem's
Expand Down Expand Up @@ -34,70 +39,6 @@ commerce (Kamer van Koophandel) in Utrecht, The Netherlands. The KvK number is 6
<li>Rob Vermaas - Treasurer</li>
</ul>
</div>
<div class="span6">
<h3>Donations</h3>

[% PROCESS donation.tt %]

</div>

</div>
<h2>Donations/expenses history</h2>

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">

google.charts.load('current', {packages: ['corechart', 'bar']});
google.charts.setOnLoadCallback(drawBasic);

function drawBasic() {
var data = google.visualization.arrayToDataTable([
['Period', 'Monthly', 'One-time', 'Sponsorship'],

[ "2015-07", 215, 931, 0 ],
[ "2015-08", 240, 266, 0 ],
[ "2015-09", 230, 90, 0 ],
[ "2015-10", 230, 5, 0 ],
[ "2015-11", 235, 221, 0 ],
[ "2015-12", 235, 174, 5000 ],
[ "2016-01", 270, 130, 0 ],
[ "2016-02", 245, 130, 7000 ],
[ "2016-03", 240, 1920, 0 ],
[ "2016-04", 240, 105, 0 ],
[ "2016-05", 240, 40, 0 ],
[ "2016-06", 245, 10, 0 ],
[ "2016-07", 245, 21, 0 ],
[ "2016-08", 235, 126, 0 ],
[ "2016-09", 235, 96, 0 ],
[ "2016-10", 240, 89, 0 ],
[ "2016-11", 240, 211, 0 ],
[ "2016-12", 240, 6, 0 ],
[ "2017-01", 230, 1, 0 ],
[ "2017-02", 95, 721, 0 ],
[ "2017-03", 100, 187, 0 ],
[ "2017-04", 75, 1, 0 ],
[ "2017-05", 75, 61, 0 ],
[ "2017-06", 70, 16, 0 ],
[ "2017-07", 65, 51, 0 ],
[ "2017-08", 70, 168, 0 ],
[ "2017-09", 70, 307, 0 ],
[ "2017-10", 70, 379, 0 ],
[ "2017-11", 115, 616, 0 ],
[ "2017-12", 105, 175, 0 ],
]);
var options = {
title: 'Donations per month (euro)',
isStacked: true
};

var chart = new google.visualization.ColumnChart(
document.getElementById('donations'));

chart.draw(data, options);
}

</script>

<div id="donations" style="height: 600px;"></div>

[% END %]

0 comments on commit 6b2cf0d

Please sign in to comment.