little reorder in application.yml.example and only show donations in sidebar if paypal stuff is set
This commit is contained in:
parent
510bd7f0db
commit
78e03056e8
2 changed files with 29 additions and 28 deletions
|
|
@ -76,7 +76,7 @@
|
||||||
.content
|
.content
|
||||||
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
|
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
|
||||||
|
|
||||||
- if ! AppConfig['do_not_request_donations']
|
- if AppConfig[:paypal_hosted_button_id].present?
|
||||||
.section
|
.section
|
||||||
.title
|
.title
|
||||||
= image_tag('/images/icons/coffee.png')
|
= image_tag('/images/icons/coffee.png')
|
||||||
|
|
|
||||||
|
|
@ -66,14 +66,15 @@ defaults: &defaults
|
||||||
# Email to send spotlight suggestions to
|
# Email to send spotlight suggestions to
|
||||||
spotlight_suggest_email: ''
|
spotlight_suggest_email: ''
|
||||||
|
|
||||||
# Set this to true to remove the donation request form in the right sidebar
|
|
||||||
do_not_request_donations: false
|
|
||||||
|
|
||||||
# List of users who have admin privileges
|
# List of users who have admin privileges
|
||||||
# (expressed as an array of local usernames)
|
# (expressed as an array of local usernames)
|
||||||
admins:
|
admins:
|
||||||
- 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
|
- 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
|
||||||
|
|
||||||
|
# Mount resque-web into routes
|
||||||
|
# This allows an administrator to see info about the workers
|
||||||
|
mount_resque_web: true
|
||||||
|
|
||||||
# Logging setup
|
# Logging setup
|
||||||
|
|
||||||
# Enable extensive logging to log/{development,test,production}.log
|
# Enable extensive logging to log/{development,test,production}.log
|
||||||
|
|
@ -153,30 +154,7 @@ defaults: &defaults
|
||||||
# Sender address in Diaspora's outgoing mail.
|
# Sender address in Diaspora's outgoing mail.
|
||||||
smtp_sender_address: 'no-reply@joindiaspora.com'
|
smtp_sender_address: 'no-reply@joindiaspora.com'
|
||||||
|
|
||||||
# Web tracking
|
# Redis cache
|
||||||
|
|
||||||
# google analytics key - if false, no javascript included
|
|
||||||
google_a_site: false
|
|
||||||
|
|
||||||
# piwik integration - if not set, no javascript included
|
|
||||||
piwik_id:
|
|
||||||
# the site url in raw format (e.g. pikwik.examplehost.com)
|
|
||||||
piwik_url:
|
|
||||||
|
|
||||||
# Backups
|
|
||||||
|
|
||||||
# cloudfiles username and api-key - used for backups
|
|
||||||
cloudfiles_username: 'example'
|
|
||||||
cloudfiles_api_key: 'abc123'
|
|
||||||
|
|
||||||
# Donations
|
|
||||||
|
|
||||||
# Use paypal for recurring donations
|
|
||||||
paypal_hosted_button_id: ""
|
|
||||||
|
|
||||||
# Mount resque-web into routes
|
|
||||||
# This allows an administrator to see info about the workers
|
|
||||||
mount_resque_web: true
|
|
||||||
|
|
||||||
# Enable the cache layer (Redis)
|
# Enable the cache layer (Redis)
|
||||||
# If you expect to have thousands of users on your pod,
|
# If you expect to have thousands of users on your pod,
|
||||||
|
|
@ -196,6 +174,29 @@ defaults: &defaults
|
||||||
# is running on the default Redis port.
|
# is running on the default Redis port.
|
||||||
redis_location: ''
|
redis_location: ''
|
||||||
|
|
||||||
|
|
||||||
|
# Web tracking
|
||||||
|
|
||||||
|
# google analytics key - if false, no javascript included
|
||||||
|
google_a_site: false
|
||||||
|
|
||||||
|
# piwik integration - if not set, no javascript included
|
||||||
|
piwik_id:
|
||||||
|
# the site url in raw format (e.g. pikwik.examplehost.com)
|
||||||
|
piwik_url:
|
||||||
|
|
||||||
|
# Backups
|
||||||
|
|
||||||
|
# cloudfiles username and api-key - used for backups
|
||||||
|
cloudfiles_username: 'example'
|
||||||
|
cloudfiles_api_key: 'abc123'
|
||||||
|
|
||||||
|
# Donations
|
||||||
|
|
||||||
|
# Leave this blank to not show the request for donations
|
||||||
|
# Use paypal for recurring donations
|
||||||
|
paypal_hosted_button_id: ""
|
||||||
|
|
||||||
#
|
#
|
||||||
# Use this section to override default settings in specific environments
|
# Use this section to override default settings in specific environments
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue