drop fallback donation form

This commit is contained in:
Jonne Haß 2013-05-25 13:37:17 +02:00
parent cdb4be14ce
commit f2f7800b30
3 changed files with 8 additions and 17 deletions

View file

@ -3,6 +3,7 @@
## Refactor
* Refactored config/ directory [#4145](https://github.com/diaspora/diaspora/pull/4145).
* Drop misleading fallback donation form. [Proposal](https://www.loomio.org/discussions/1045?proposal=2722)
## Bug fixes

View file

@ -1,6 +0,0 @@
%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')}

View file

@ -67,20 +67,16 @@
.content
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.post_something'), magic_bookmarklet_link))
.section
.title
.icons-coffee
%h5.title-header
= t('aspects.index.donate')
.content
- if AppConfig.settings.paypal_hosted_button_id.present?
- if AppConfig.settings.paypal_hosted_button_id.present?
.section
.title
.icons-coffee
%h5.title-header
= t('aspects.index.donate')
.content
= t('aspects.index.keep_pod_running', :pod => AppConfig.pod_uri.host)
%br
= render 'shared/donatepod'
- else
= t('aspects.index.keep_diaspora_running')
%br
= render 'shared/donatediaspora'
- if AppConfig.admins.podmin_email.present?
.section