diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-07-24 17:33:15 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-07-28 13:41:48 +0200 |
commit | c2944beed1e04e490fb7ca3edf8d80ba47439126 (patch) | |
tree | fbc589a53cbe247bf3de85425435814865c51a5a | |
parent | 41d53b3dff57b018cab46b8696e89f695baf3432 (diff) | |
download | freeipa-c2944beed1e04e490fb7ca3edf8d80ba47439126.tar.gz freeipa-c2944beed1e04e490fb7ca3edf8d80ba47439126.tar.xz freeipa-c2944beed1e04e490fb7ca3edf8d80ba47439126.zip |
webui: display expired session notification in a more visible area
-rw-r--r-- | install/ui/src/freeipa/widgets/LoginScreen.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/widgets/LoginScreen.js b/install/ui/src/freeipa/widgets/LoginScreen.js index e7e1b029e..87938f9c0 100644 --- a/install/ui/src/freeipa/widgets/LoginScreen.js +++ b/install/ui/src/freeipa/widgets/LoginScreen.js @@ -248,6 +248,10 @@ define(['dojo/_base/declare', show_login_view: function() { this.set_login_aside_text(); + if (auth.current.expired) { + var val_summary = this.get_widget('validation'); + val_summary.add_info('expired', this.expired_msg); + } if (this.buttons_node) { construct.place(this.sync_btn_node, this.buttons_node); construct.place(this.login_btn_node, this.buttons_node); @@ -284,9 +288,6 @@ define(['dojo/_base/declare', set_login_aside_text: function() { var aside = ""; - if (auth.current.expired) { - aside += "<p>"+this.expired_msg;+"<p/>"; - } if (this.password_enabled()) { aside += "<p>"+this.form_auth_msg;+"<p/>"; } |