mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-31 17:17:48 -05:00
Add info about modern webui
Adds a small information note, regarding launching modern webui with redirect link. Signed-off-by: David Hanina <dhanina@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
9b7fc311d3
commit
563f20e2a4
2 files changed
+18
No files matched your search
@@ -53,6 +53,10 @@ define(['dojo/_base/declare',
|
||||
|
||||
expired_msg: "Your session has expired. Please re-login.",
|
||||
|
||||
new_ui_msg: "<i class=\"fa fa-info-circle\"></i> We have launched " +
|
||||
"new UI, <a href='${protocol}//${host}/ipa/modern-ui'>" +
|
||||
"try it out!</a>",
|
||||
|
||||
form_auth_msg: "<i class=\"fa fa-info-circle\"></i> To log in with " +
|
||||
"<strong>username and password</strong>, enter them in the " +
|
||||
"corresponding fields, then click Login.",
|
||||
@@ -532,6 +536,7 @@ define(['dojo/_base/declare',
|
||||
|
||||
set_login_aside_text: function() {
|
||||
var aside = "";
|
||||
aside += "<p>"+this.new_ui_msg+"<p/>"
|
||||
if (this.password_enabled()) {
|
||||
aside += "<p>"+this.form_auth_msg+"<p/>";
|
||||
}
|
||||
@@ -557,6 +562,11 @@ define(['dojo/_base/declare',
|
||||
this.expired_msg
|
||||
);
|
||||
|
||||
this.new_ui_msg = text.get(
|
||||
spec.new_ui_msg || '@i18n:login.new_ui_msg',
|
||||
this.new_ui_msg
|
||||
)
|
||||
|
||||
this.form_auth_msg = text.get(
|
||||
spec.form_auth_msg || '@i18n:login.form_auth',
|
||||
this.form_auth_msg
|
||||
@@ -586,6 +596,10 @@ define(['dojo/_base/declare',
|
||||
.replace('${protocol}', window.location.protocol)
|
||||
.replace('${host}', window.location.hostname);
|
||||
|
||||
this.new_ui_msg = this.new_ui_msg
|
||||
.replace('${protocol}', window.location.protocol)
|
||||
.replace('${host}', window.location.hostname);
|
||||
|
||||
this.password_change_complete = text.get(
|
||||
spec.password_change_complete ||
|
||||
'@i18n:password.password_change_complete',
|
||||
|
||||
@@ -411,6 +411,10 @@ class i18n_messages(Command):
|
||||
"login_certificate_desc": _("Log in using personal certificate"),
|
||||
"logout": _("Log out"),
|
||||
"logout_error": _("Log out error"),
|
||||
"new_ui_msg": _(
|
||||
"<i class=\"fa fa-info-circle\"></i> We have launched "
|
||||
"new UI, <a href='${protocol}//${host}/ipa/modern-ui'>"
|
||||
"try it out!</a>"),
|
||||
"password": _("Password"),
|
||||
"password_and_otp": _("Password or Password+One-Time Password"),
|
||||
"redirect_msg": _("You will be redirected in ${count}s"),
|
||||
|
||||
Reference in new issue
Block a user