From d210f8c36da99eafed35a593f9e6bfc0857e7a0d Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 18 Jan 2017 04:38:18 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 17855 - Other followups - Removed the html regex from the cardnumber field in the 'Create patron administrator' page of the onboarding tool. Added '|html' into the the value attribute of the cardnumber input field to filter the inputted cardnumber. So now the same level of validation exists for validating the inputted cardnumber in the staff interface and the onboarding tool. - Removed the unnecessary javascript cardnumber validation code from onboardingstep3.tt - Removed HTML regexes from all fields on all screens of onboarding tool except branchcode, patron category code and item type code. Also ensured these three remaining regexes are all {1,10} for length as they are all required. - Added |html and added in input title attribute to input fields where it existed previously Signed-off-by: Mark Tompsett --- .../prog/en/modules/onboarding/onboardingstep1.tt | 4 +- .../prog/en/modules/onboarding/onboardingstep2.tt | 29 ++++-------- .../prog/en/modules/onboarding/onboardingstep3.tt | 53 ++++------------------ .../prog/en/modules/onboarding/onboardingstep4.tt | 4 +- 4 files changed, 23 insertions(+), 67 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt index 18cff8c..b295fc9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt @@ -65,12 +65,12 @@
  1. - + Required
  2. - + Required
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt index 453d96a..86b68f2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt @@ -166,30 +166,20 @@ $(document).ready(function(){ + var MSG_PASSWORD_MISMATCH=(_("The entered passwords do not match, please rewrite them")); + + +