mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
f0e9a37c7a
Tidy "No CTA" emails and update footer color in all emails GitOrigin-RevId: bf4d88400a6165b4b2ba3880374921dcda9a2cef
7 lines
160 B
JavaScript
7 lines
160 B
JavaScript
function displayLink(text, url, isPlainText) {
|
|
return isPlainText ? `${text} (${url})` : `<a href="${url}">${text}</a>`
|
|
}
|
|
|
|
module.exports = {
|
|
displayLink
|
|
}
|