Added settings.salesEmail to web config (#2392)

GitOrigin-RevId: 67b215e4141063fe00b29917324197923824ab8e
This commit is contained in:
Miguel Serrano 2019-11-27 11:04:40 +01:00 committed by sharelatex
parent d53373635d
commit debb82960c
2 changed files with 2 additions and 5 deletions

View file

@ -38,11 +38,6 @@ mixin linkEducation(linkText, linkClass)
a(href=(settings.siteUrl ? settings.siteUrl : '') + "/for/edu" class=linkClass ? linkClass : '', ng-non-bindable)
| #{linkText ? linkText : 'teaching toolkit'}
mixin linkEmail(linkText, linkClass, email)
- var emailAddress = email ? email : 'contact'
a(href="mailto:" + emailAddress + "@overleaf.com" class=linkClass ? linkClass : '', ng-non-bindable)
| #{linkText ? linkText : 'email'}
mixin linkInvite(linkText, linkClass, track)
- var gaCategory = track && track.category ? track.category : 'All'
- var gaAction = track && track.action ? track.action : null

View file

@ -457,6 +457,8 @@ module.exports = settings =
adminEmail: process.env['ADMIN_EMAIL'] or "placeholder@example.com"
salesEmail: process.env['SALES_EMAIL'] or "placeholder@example.com"
statusPageUrl: process.env['OVERLEAF_STATUS_URL'] or "status.overleaf.com"
brandPrefix: process.env['BRAND_PREFIX'] or "sl-" # Set to 'ol-' for overleaf styles