This is an automated email from the ASF dual-hosted git repository. nic pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push: new 3e80d2c KYLIN-4248 When adding a user, the prompt message is incorrect when the user name is empty. 3e80d2c is described below commit 3e80d2c333d8fcb6606f08fe9056c253fbc4c5b1 Author: Kehua Wu <wu.ke...@zte.com.cn> AuthorDate: Tue Nov 12 11:33:58 2019 +0800 KYLIN-4248 When adding a user, the prompt message is incorrect when the user name is empty. --- webapp/app/partials/admin/change_pwd.html | 4 ++-- webapp/app/partials/admin/user_create.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/app/partials/admin/change_pwd.html b/webapp/app/partials/admin/change_pwd.html index 6ae1679..c3ab320 100644 --- a/webapp/app/partials/admin/change_pwd.html +++ b/webapp/app/partials/admin/change_pwd.html @@ -32,10 +32,10 @@ ng-maxlength=100 ng-pattern="userPattern"/> <span class="text-warning" ng-if="change_pwd_form.name_input.$error.required && change_pwd_form.name_input.$dirty" - > The project name is required</span> + > The user name is required</span> <span class="text-warning" ng-if="change_pwd_form.name_input.$invalid && change_pwd_form.name_input.$dirty && !change_pwd_form.name_input.$error.required" - > The project name is invalid</span> + > The user name is invalid</span> </div> </div> <div class="form-group"> diff --git a/webapp/app/partials/admin/user_create.html b/webapp/app/partials/admin/user_create.html index 4c60060..54c8ec2 100644 --- a/webapp/app/partials/admin/user_create.html +++ b/webapp/app/partials/admin/user_create.html @@ -32,10 +32,10 @@ ng-maxlength=100 ng-pattern="userPattern"/> <span class="text-warning" ng-if="user_create_form.name_input.$error.required && user_create_form.name_input.$dirty" - > The project name is required</span> + > The user name is required</span> <span class="text-warning" ng-if="user_create_form.name_input.$invalid && user_create_form.name_input.$dirty && !user_create_form.name_input.$error.required" - > The project name is invalid</span> + > The user name is invalid</span> </div> </div> <div class="form-group">