From aba5acacc2d6b7cbba1babaf89d6927307c4b846 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 12 Apr 2021 10:49:45 +0000 Subject: [PATCH] Bug 28134: Replace use of input type number in onboarding templates This patch changes the instances of input of type="number" to input type="text" with attributes inputmode="numeric" and pattern="[0-9]*" To test, apply the patch and run through the process of installing Koha. When you reach onboarding step 2, "Create a patron category," check the enrollment period -> "In months" field. The field should not accept any input except numbers. Continue onboarding until step 5, "Create a new circulation rule." On this page, check that these fields accept only numbers: - Current checkouts allowed - Loan period - Renewals allowed - Renewals period - Holds allowed (total) - Holds allowed (daily) - Holds per record (count) --- .../prog/en/modules/onboarding/onboardingstep2.tt | 4 ++-- .../prog/en/modules/onboarding/onboardingstep5.tt | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) 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 b01da625cd..fc19563a7c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt @@ -99,9 +99,9 @@
  • [% IF category.enrolmentperiod %] - + [% ELSE %] - + [% END %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt index e70870f500..57320ae9eb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt @@ -69,13 +69,13 @@
  • - + Required
  • - + Required
  • @@ -100,29 +100,29 @@
  • - + Required
  • - + Required
  • - +
  • - +
  • - +
  • -- 2.11.0