diff --git a/app/views/shared/_donatediaspora.html.haml b/app/views/shared/_donatediaspora.html.haml new file mode 100644 index 000000000..1094f0aa3 --- /dev/null +++ b/app/views/shared/_donatediaspora.html.haml @@ -0,0 +1,6 @@ +%form{:action => "https://diaspora-project-site.heroku.com/donate", :method => "get"} + %select{:name => "monthly_amount"} + %option{:value => "1"} Supporter : $5.00USD + %option{:value => "2"} Member : $10.00USD + %option{:value => "3"} Freedom Fighter : $20.00USD + %input{:name => "submit", :type => "submit", :value => t('aspects.index.donate')} diff --git a/app/views/shared/_donatepod.html.haml b/app/views/shared/_donatepod.html.haml new file mode 100644 index 000000000..38a04b6a6 --- /dev/null +++ b/app/views/shared/_donatepod.html.haml @@ -0,0 +1,11 @@ +%form{:action => "https://www.paypal.com/cgi-bin/webscr", :method => "post"} + %input{:name => "cmd", :type => "hidden", :value => "_s-xclick"} + %input{:name => "hosted_button_id", :type => "hidden", :value => AppConfig[:paypal_hosted_button_id]} + %input{:name => "on0", :type => "hidden", :value => "Type"} + %input{:name => "modify", :type => "hidden", :value => "2"} + %select{:name => "os0"} + %option{:value => "Mocha"} Mocha : $3.00USD + %option{:value => "Americano"} Americano : $5.00USD + %option{:value => "Box o' Joe"} Box o' Joe : $20.00USD + %input{:name => "currency_code", :type => "hidden", :value => "USD"} + %input{:name => "submit", :type => "submit", :value => t('aspects.index.donate')}