add ability to email suggestions for community spotlight members

This commit is contained in:
danielgrippi 2011-10-20 12:08:05 -07:00
parent 44b58d707f
commit 34816f3a7f
2 changed files with 8 additions and 1 deletions

View file

@ -14,7 +14,12 @@
= render 'shared/contact_sidebar'
.span-18.last
.span-18.last{:style => "position:relative;"}
- if AppConfig[:spotlight_suggest_email].present?
.right
= link_to "Suggest a member", "mailto:#{AppConfig[:spotlight_suggest_email]}", :class => "button"
%h3
= t('contacts.spotlight.community_spotlight')
%br

View file

@ -64,6 +64,8 @@ defaults: &defaults
# (expressed as an array of Diaspora IDs)
community_spotlight:
- 'diasporahq@joindiaspora.com'
# Email to send spotlight suggestions to
spotlight_suggest_email: ''
# List of users who have admin privileges
# (expressed as an array of local usernames)