mirror of https://github.com/apache/archiva.git
i18n and checkbox checked if rememberme activated
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
70b46f383c
commit
25bc7e6b5b
|
@ -214,6 +214,7 @@ user.details.updated=details updated.
|
||||||
user.delete.message=The following user {0} will be deleted
|
user.delete.message=The following user {0} will be deleted
|
||||||
password.reset=Reset Password
|
password.reset=Reset Password
|
||||||
password.reset.success=Password reset.
|
password.reset.success=Password reset.
|
||||||
|
rememberme=Remember Me
|
||||||
|
|
||||||
#roles management
|
#roles management
|
||||||
roles.management.header=Roles Management
|
roles.management.header=Roles Management
|
||||||
|
|
|
@ -354,6 +354,7 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid) {
|
||||||
if(user.rememberme){
|
if(user.rememberme){
|
||||||
$("#user-login-form-username" ).val(user.username);
|
$("#user-login-form-username" ).val(user.username);
|
||||||
$("#user-login-form-password" ).val(user.password);
|
$("#user-login-form-password" ).val(user.password);
|
||||||
|
$("#user-login-form-rememberme" ).attr("checked","true");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$.log("user not in cookie");
|
$.log("user not in cookie");
|
||||||
|
|
Loading…
Reference in New Issue