Browse Source

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>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
James O'Keeffe 3 years ago
committed by Jonathan Druart
parent
commit
39249b18a2
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt

4
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>

Loading…
Cancel
Save