Bug 25418: (QA follow-up) Raise size of input box
authorNick Clemens <nick@bywatersolutions.com>
Mon, 11 May 2020 17:08:35 +0000 (17:08 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 10:12:14 +0000 (11:12 +0100)
In twelve hour format the length of the string is 20 characters
we need the box to fit all of them

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

index eed9bd7..b8ec599 100644 (file)
 
                                     [% IF ( INVALID_DATE ) %]
                                         <p>
-                                          <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" />
+                                          <input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" />
                                             <label for="duedatespec">Due date</label>
                                         </p>
                                     [% ELSE %]
                                                             <div id="specify-due-date" class="circ-setting">
                                                                 <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
                                                                 [% IF ( duedatespec ) %]
-                                                                    <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" />
+                                                                    <input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" />
                                                                 [% ELSE %]
-                                                                    <input type="text" size="13" id="duedatespec" name="duedatespec" value="" />
+                                                                    <input type="text" size="20" id="duedatespec" name="duedatespec" value="" />
                                                                 [% END %]
                                                                 <label for="stickyduedate"> Remember for session:</label>
                                                                 [% IF ( stickyduedate ) %]