Bugzilla – Attachment 115556 Details for
Bug 27411
Update tools/automatic_item_modification_by_age.tt to reflect ACC2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27411: Update tools/automatic_item_modification_by_age.tt to reflect ACC2
Bug-27411-Update-toolsautomaticitemmodificationbya.patch (text/plain), 2.12 KB, created by
Jonathan Druart
on 2021-01-21 14:55:27 UTC
(
hide
)
Description:
Bug 27411: Update tools/automatic_item_modification_by_age.tt to reflect ACC2
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-01-21 14:55:27 UTC
Size:
2.12 KB
patch
obsolete
>From 1e08a78750ef2d18010fa8b224ce00c0e213fc1d Mon Sep 17 00:00:00 2001 >From: James O'Keeffe <jamespfk@gmail.com> >Date: Wed, 20 Jan 2021 01:26:54 +0000 >Subject: [PATCH] Bug 27411: Update tools/automatic_item_modification_by_age.tt > to reflect ACC2 > >This patch changes instances of type="number" in inputs to adhere to >ACC2 guidelines > >Test plan: >Open the file and ensure all instances of type="number" in inputs are >changed to 'type="text" inputmode="numeric" pattern="[0-9]*"' > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../en/modules/tools/automatic_item_modification_by_age.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt >index 3ee297e9df..78063a20e1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt >@@ -72,7 +72,7 @@ > <input type="hidden" name="unique_id" value="[% loop.count | html %]" /> <!-- FIXME on update, the unique_id should be filled --> > <div class="age"> > <h5>Age in days</h5> >- <input class="age" type="number" value="[% rule.age | html %]" name="age_[% id | html %]" /> >+ <input class="age" type="text" inputmode="numeric" pattern="[0-9]*" value="[% rule.age | html %]" name="age_[% id | html %]" /> > </div> > <div class="blocks"> > <h5>Conditions</h5> >@@ -133,7 +133,7 @@ > <input type="hidden" name="unique_id" /> > <div class="age"> > <h5>Age in days</h5> >- <input class="age" type="number" value="" name="age" /> >+ <input class="age" type="text" inputmode="numeric" pattern="[0-9]*" value="" name="age" /> > </div> > <div class="blocks"> > <h5>Conditions</h5> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27411
:
115390
|
115450
|
115516
| 115556