mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #3861 from overleaf/jpa-meta-launchpad
[views] migrate the launchpad module to meta tags GitOrigin-RevId: 05295de90bf478e9b3494d854e2c57039c8f39e8
This commit is contained in:
parent
13bf8dad2b
commit
d8b49f65da
1 changed files with 5 additions and 8 deletions
|
@ -1,14 +1,11 @@
|
|||
extends ../../../../app/views/layout
|
||||
|
||||
block append meta
|
||||
meta(name="ol-adminUserExists" data-type="boolean" content=adminUserExists)
|
||||
meta(name="ol-ideJsPath" content=buildJsPath('ide.js'))
|
||||
meta(name="ol-authMethod" content=authMethod)
|
||||
|
||||
block content
|
||||
|
||||
script(type="text/javascript", nonce=scriptNonce).
|
||||
window.data = {
|
||||
adminUserExists: !{adminUserExists == true},
|
||||
ideJsPath: "!{buildJsPath('ide.js')}",
|
||||
authMethod: "!{authMethod}"
|
||||
}
|
||||
|
||||
script(type="text/javascript", nonce=scriptNonce, src=(wsUrl || '/socket.io') + '/socket.io.js')
|
||||
|
||||
style.
|
||||
|
|
Loading…
Reference in a new issue