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 ## Refactor
* Refactored config/ directory [#4145](https://github.com/diaspora/diaspora/pull/4145). * 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 ## 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 .content
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.post_something'), magic_bookmarklet_link)) != t('bookmarklet.explanation', :link => link_to(t('bookmarklet.post_something'), magic_bookmarklet_link))
.section - if AppConfig.settings.paypal_hosted_button_id.present?
.title .section
.icons-coffee .title
%h5.title-header .icons-coffee
= t('aspects.index.donate') %h5.title-header
.content = t('aspects.index.donate')
- if AppConfig.settings.paypal_hosted_button_id.present? .content
= t('aspects.index.keep_pod_running', :pod => AppConfig.pod_uri.host) = t('aspects.index.keep_pod_running', :pod => AppConfig.pod_uri.host)
%br %br
= render 'shared/donatepod' = render 'shared/donatepod'
- else
= t('aspects.index.keep_diaspora_running')
%br
= render 'shared/donatediaspora'
- if AppConfig.admins.podmin_email.present? - if AppConfig.admins.podmin_email.present?
.section .section