mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 15:49:01 +02:00
Merge pull request #24329 from overleaf/msm-fix-login-translation-ce-sp
[web] Fix `log_in` default translation in user/pass login GitOrigin-RevId: 70876652a462b7917d9864e5dccce45ebf3b6d0a
This commit is contained in:
@@ -238,6 +238,7 @@ const UserPagesController = {
|
||||
}
|
||||
res.render('user/login', {
|
||||
title: Settings.nav?.login_support_title || 'login',
|
||||
login_support_title: Settings.nav?.login_support_title,
|
||||
login_support_text: Settings.nav?.login_support_text,
|
||||
})
|
||||
},
|
||||
|
||||
@@ -10,8 +10,8 @@ block content
|
||||
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
|
||||
.card
|
||||
.page-header
|
||||
if title
|
||||
h1 !{title}
|
||||
if login_support_title
|
||||
h1 !{login_support_title}
|
||||
else
|
||||
h1 #{translate("log_in")}
|
||||
form(data-ol-async-form, name="loginForm", action='/login', method="POST")
|
||||
|
||||
Reference in New Issue
Block a user