Make the donation form (right sidebar) optional. Show or hide via application.yml .
This commit is contained in:
parent
43b34d5290
commit
d643f7e893
2 changed files with 15 additions and 11 deletions
|
|
@ -69,6 +69,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']
|
||||||
.section
|
.section
|
||||||
.title
|
.title
|
||||||
= image_tag('/images/icons/coffee.png')
|
= image_tag('/images/icons/coffee.png')
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,9 @@ 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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue