mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #19947 from overleaf/msm-ce-survey
[web] Temporary CE Survey GitOrigin-RevId: 874febba1d61f7b9ba333b2de399c9bcc7f3bcc2
This commit is contained in:
parent
1175b3b080
commit
2296287e61
1 changed files with 10 additions and 0 deletions
|
@ -170,6 +170,16 @@ async function projectListPage(req, res, next) {
|
|||
if (user && UserPrimaryEmailCheckHandler.requiresPrimaryEmailCheck(user)) {
|
||||
return res.redirect('/user/emails/primary-email-check')
|
||||
}
|
||||
} else {
|
||||
if (!process.env.OVERLEAF_IS_SERVER_PRO) {
|
||||
// temporary survey for CE: https://github.com/overleaf/internal/issues/19710
|
||||
survey = {
|
||||
name: 'ce-survey',
|
||||
preText: 'Help us improve Overleaf',
|
||||
linkText: 'by filling out this quick survey',
|
||||
url: 'https://docs.google.com/forms/d/e/1FAIpQLSdPAS-731yaLOvRM8HW7j6gVeOpcmB_X5A5qwgNJT7Oj09lLA/viewform?usp=sf_link',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const tags = await TagsHandler.promises.getAllTags(userId)
|
||||
|
|
Loading…
Reference in a new issue