From a5f9885f0c70dc2932d07ae90c5daa7d723a5873 Mon Sep 17 00:00:00 2001 From: Kyle M Hall <kyle@bywatersolutions.com> Date: Thu, 19 Dec 2013 12:47:02 -0500 Subject: [PATCH] Bug 10995 - Accessibility: Allow manual entry of renewal date and specific due date in circ From Katrin Fischer: In 3.12 it's no longer possible to enter dates manually as specific due date and renewal date in the patron account in circulation. This is a big accessibility problem as not everyone can use the datepickers for filling those fields. We have a library where this is a blocker. Test Plan: 1) Apply this patch 2) Start checking out a patron 3) Note when you click the due date field, the calendar pops up, but you can now edit the field by hand as well Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> --- .../prog/en/modules/circ/circulation.tt | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 3ecedd8..1236b45 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -490,8 +490,12 @@ No patron matched <span class="ex">[% message %]</span> [% IF ( SpecifyDueDate ) %]<div class="date-select"> <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> - [% IF ( duedatespec ) %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" />[% ELSE %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" /> -[% END %] + [% IF ( duedatespec ) %] + <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" /> + [% ELSE %] + <input type="text" size="13" id="duedatespec" name="duedatespec" value="" /> + [% END %] + <label for="stickyduedate"> Remember for session:</label> [% IF ( stickyduedate ) %] <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" /> -- 1.7.2.5