Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/languages/strings.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# Start banner
[Languages.en.start]
subtitle1 = "Why is software created using taxpayers' money not released as Free and Open Source Software?"
subtitle1 = "Why is software created using taxpayer's money not released as Free and Open Source Software?"
subtitle2 = "We want legislation requiring that publicly financed software developed for the public sector be made publicly available under a [Free and Open Source Software](https://en.wikipedia.org/wiki/Free_and_open-source_software) licence. If it is public money, it should be public code as well. Following initiatives [across the globe](https://publiccode.eu), we are calling for the release of code that is paid by the public."
subtitle3 = "**Code paid by the people should be available to the people!**"

Expand Down
4 changes: 2 additions & 2 deletions site/languages/strings.id.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@

# Start banner
#[Languages.en.start]
# subtitle1 = "Why is software created using taxpayers' money not released as Free and Open Source Software?"
# subtitle1 = "Why is software created using taxpayer's money not released as Free and Open Source Software?"
# subtitle2 = "We want legislation requiring that publicly financed software developed for the public sector be made publicly available under a [Free and Open Source Software](https://en.wikipedia.org/wiki/Free_and_open-source_software) licence. If it is public money, it should be public code as well. Following initiatives [across the globe](https://publiccode.eu), we are starting an initiative to call for the release of code that is paid by the public."
# subtitle3 = "**Code paid by the people should be available to the people!**"
# Start banner
[Languages.id.start]
subtitle1 = "Why is software created using taxpayers' money not released as Free and Open Source Software?"
subtitle1 = "Why is software created using taxpayer's money not released as Free and Open Source Software?"
subtitle2 = "We want legislation requiring that publicly financed software developed for the public sector be made publicly available under a [Free and Open Source Software](https://en.wikipedia.org/wiki/Free_and_open-source_software) licence. If it is public money, it should be public code as well. Following initiatives [across the globe](https://publiccode.eu), we are starting an initiative to call for the release of code that is paid by the public."
subtitle3 = "**Code paid by the people should be available to the people!**"

Expand Down
2 changes: 1 addition & 1 deletion site/languages/strings.vi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Start banner
[Languages.vi.start]
# subtitle1 = "Why is software created using taxpayers' money not released as Free Software?"
# subtitle1 = "Why is software created using taxpayer's money not released as Free Software?"
# subtitle2 = "We want legislation requiring that publicly financed software developed for the public sector be made publicly available under a [Free and Open Source Software](https://en.wikipedia.org/wiki/Free_and_open-source_software 'Free Software gives everybody the rights to use, study, share and improve software. These rights help support other fundamental freedoms like freedom of speech, press and privacy.') licence. If it is public money, it should be public code as well."
# subtitle3 = "**Code paid by the people should be available to the people!**"
subtitle1 = "Waarom is software die geschreven is met belastinggeld niet beschikbaar als Vrije Software?"
Expand Down
21 changes: 11 additions & 10 deletions site/static/js/donate.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ function hider(channel, no) {
Two seperate jquery functions are used in stripe payment for donation and regular supporter.
On clicking the donate button with ids customButton and customButtone respective fumctions
will be called*/
(function() {
(function () {
var amount = 25;
var handler = StripeCheckout.configure({
key: 'pk_live_TYUOty0alel95s5ZGMydBd8Q',
image: '/img/fossasia_400x400.png',
token: function(token) {
token: function (token) {

$("#stripeToken").val(token.id);
$("#stripeEmail").val(token.email);
Expand All @@ -63,7 +63,7 @@ will be called*/
$("#myForm").submit();
}
});
$("#button1id").on("click", function() {
$("#button1id").on("click", function () {
var form = serialize($(this).closest("form")[0], true);
amount = form.otheram || form.amount
handler.open({
Expand All @@ -74,23 +74,24 @@ will be called*/
return false
});

$("#myForm").on("change", "[name=amount]", function() {
$("#myForm").on("change", "[name=amount]", function () {
$("#otheram").val("")
})
$("#otheram").on("type change input paste", function() {
$("#otheram").on("type change input paste", function () {
$("#myForm [name=amount]").removeAttr("checked");
});
// Close Checkout on page navigation
$(window).on('popstate', function () {
handler.close();
});

})()

// Close Checkout on page navigation
$(window).on('popstate', function() {
handler.close();
});

function createN(name, key) {
return $("<input type='hidden'>").attr("name", name).attr("value", key)
}
$("#Paypal").click(function() {
$("#Paypal").click(function () {

$("#myForm").attr("action", "https://www.paypal.com/cgi-bin/webscr").append(createN("business", "[email protected]")).append(createN("cmd", "donations")).append(createN("item_name", "FOSSASIA friends")).append(createN("item_number", "Supportin FOSSASIA")).append(createN("currency_code", "USD"));

Expand Down