Merge pull request #2273 from Pistos/donate-optional
Make the donation form (right sidebar) optional.
This commit is contained in:
commit
d6b68d2f9b
2 changed files with 15 additions and 11 deletions
|
|
@ -69,13 +69,14 @@
|
|||
.content
|
||||
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
|
||||
|
||||
.section
|
||||
.title
|
||||
= image_tag('/images/icons/coffee.png')
|
||||
%h5
|
||||
= t('aspects.index.donate')
|
||||
.content
|
||||
= t('aspects.index.keep_us_running', :pod => URI.parse(AppConfig[:pod_url]).host)
|
||||
%br
|
||||
= render 'shared/donate'
|
||||
- if ! AppConfig['do_not_request_donations']
|
||||
.section
|
||||
.title
|
||||
= image_tag('/images/icons/coffee.png')
|
||||
%h5
|
||||
= t('aspects.index.donate')
|
||||
.content
|
||||
= t('aspects.index.keep_us_running', :pod => URI.parse(AppConfig[:pod_url]).host)
|
||||
%br
|
||||
= render 'shared/donate'
|
||||
|
||||
|
|
|
|||
|
|
@ -67,6 +67,9 @@ defaults: &defaults
|
|||
# Email to send spotlight suggestions to
|
||||
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
|
||||
# (expressed as an array of local usernames)
|
||||
admins:
|
||||
|
|
@ -183,10 +186,10 @@ defaults: &defaults
|
|||
|
||||
# The location of your redis cache.
|
||||
# IMPORTANT: DO NOT CHANGE THIS IF YOU DO NOT KNOW WHAT YOU ARE DOING!
|
||||
#
|
||||
#
|
||||
# Leave this blank to use the same Redis database
|
||||
# that your Resque workers use (happy path).
|
||||
#
|
||||
#
|
||||
# This takes an ip (or DNS record). It assumes that your Redis database
|
||||
# is running on the default Redis port.
|
||||
redis_location: ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue