From debb82960c0778942462fe2c8d0ff23940b8a516 Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Wed, 27 Nov 2019 11:04:40 +0100 Subject: [PATCH] Added settings.salesEmail to web config (#2392) GitOrigin-RevId: 67b215e4141063fe00b29917324197923824ab8e --- services/web/app/views/_mixins/links.pug | 5 ----- services/web/config/settings.defaults.coffee | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/services/web/app/views/_mixins/links.pug b/services/web/app/views/_mixins/links.pug index 07e2367731..24ba1d0288 100644 --- a/services/web/app/views/_mixins/links.pug +++ b/services/web/app/views/_mixins/links.pug @@ -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 diff --git a/services/web/config/settings.defaults.coffee b/services/web/config/settings.defaults.coffee index 9f32969951..a1160ab322 100644 --- a/services/web/config/settings.defaults.coffee +++ b/services/web/config/settings.defaults.coffee @@ -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