Enabling another offer.

This commit is contained in:
Nick Winter 2015-03-12 11:08:34 -07:00
parent 3ff41f5619
commit be84517010

View file

@ -722,6 +722,7 @@ sendNextStepsEmail = (user, now, daysAgo) ->
'tealeaf-academy': isAdult and isFast 'tealeaf-academy': isAdult and isFast
'talent-buddy': isAdult 'talent-buddy': isAdult
'coding-campus': isAdult and Math.random() < 0.5 # TODO: geodetect UT and give priority 'coding-campus': isAdult and Math.random() < 0.5 # TODO: geodetect UT and give priority
'viking': isAdult and isFast
#'mv-code-club': isKid # TODO: geodetect, get landing page URL #'mv-code-club': isKid # TODO: geodetect, get landing page URL
nAdditionalOffers = 4 - _.filter(offers).length nAdditionalOffers = 4 - _.filter(offers).length
possibleAdditionalOffers = ['code-school', 'one-month', 'learnable', 'pluralsight'] possibleAdditionalOffers = ['code-school', 'one-month', 'learnable', 'pluralsight']