]> git.evergreen-ils.org Git - evergreen/tadl.git/commit
Add username suggestion based on patron name rel_2_2_tadl_post_upgrade rel_2_2_tadl_user_edit_work
authorJeff Godin <jgodin@tadl.org>
Wed, 30 Oct 2013 20:52:19 +0000 (16:52 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 30 Oct 2013 20:52:19 +0000 (16:52 -0400)
commitc3d5ef9cbe9fa2f927d205daaded8eff68badac7
tree4bd7a725e086a37fea41250469456e5bf95b1c06
parenta57d5b85ccfe08e7053dba963d5b5be06fbb86f1
Add username suggestion based on patron name

Add support for suggesting a username based on the patron's first
and last name.

Currently, the scheme for suggestion is a lowercased first initial +
last name, with any characters other than [a-z] removed.

No effort is made to suggest an available username, but if the
suggested username is already in use, the standard "username in use"
message is displayed next to the username field.

Staff can initiate the username suggestion by clicking the new
button next to the username field, and usernames are automatically
suggested when loading a staged user.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/js/ui/default/actor/user/register.js