mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 08:30:44 +00:00
Merge pull request #1504 from sharelatex/jel-portal-sign-in-redirect
Add redircts when signing in/up via portal GitOrigin-RevId: b84105f35b5f1c14fa57ca91e766b8b6de00ccd7
This commit is contained in:
parent
f01f80c2bb
commit
fb5caf7b63
1 changed files with 4 additions and 4 deletions
|
@ -90,12 +90,12 @@ mixin linkPrintNewTab(linkText, linkClass, icon, track)
|
|||
|
|
||||
| #{linkText ? linkText : 'print'}
|
||||
|
||||
mixin linkSignIn(linkText, linkClass)
|
||||
a(href="/login" class=linkClass ? linkClass : '')
|
||||
mixin linkSignIn(linkText, linkClass, redirect)
|
||||
a(href=`/login${redirect ? '?redir=' + redirect : ''}` class=linkClass ? linkClass : '')
|
||||
| #{linkText ? linkText : 'sign in'}
|
||||
|
||||
mixin linkSignUp(linkText, linkClass)
|
||||
a(href="/register" class=linkClass ? linkClass : '')
|
||||
mixin linkSignUp(linkText, linkClass, redirect)
|
||||
a(href=`/register${redirect ? '?redir=' + redirect : ''}` class=linkClass ? linkClass : '')
|
||||
| #{linkText ? linkText : 'sign up'}
|
||||
|
||||
mixin linkTweet(linkText, linkClass, tweetText, track)
|
||||
|
|
Loading…
Reference in a new issue