Merge pull request #3829 from overleaf/jpa-meta-user-activate

[views] migrate the user activate page to meta tags

GitOrigin-RevId: 422992af7aae005cc60a5de1c26ca583333b1f65
This commit is contained in:
Timothée Alby 2021-03-29 11:21:31 +02:00 committed by Copybot
parent 8ec7ebe645
commit 0f5243d3f0

View file

@ -1,5 +1,8 @@
extends ../../../../../app/views/layout
block append meta
meta(name="ol-passwordStrengthOptions" data-type="json" content=settings.passwordStrengthOptions)
block content
main.content.content-alt
.container
@ -58,6 +61,3 @@ block content
)
span(ng-show="!activationForm.inflight") #{translate("activate")}
span(ng-show="activationForm.inflight") #{translate("activating")}…
script(type="text/javascript", nonce=scriptNonce).
window.passwordStrengthOptions = !{StringHelper.stringifyJsonForScript(settings.passwordStrengthOptions || {})}