Bug 5549 : added select option in circ rules for unit
authorElliott Davis <tdavis@uttyler.edu>
Tue, 18 Oct 2011 08:56:12 +0000 (08:56 +0000)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 20 Mar 2012 00:29:51 +0000 (13:29 +1300)
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt

index c8b565e..9b05403 100644 (file)
@@ -109,7 +109,12 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
                                                                [% END %]
                                                        </td>
                                                        <td>[% rule.issuelength %]</td>
-                                                       <td>[% rule.lengthunit %]</td>
+                                                       <td>
+                                                         <select>
+                                                           <option value="hours" [% IF (rule.lengthunit == "hours") %] selected [% END %]>Hours</option>
+                                                           <option value="days" [% IF (rule.lengthunit == "days") %] selected [% END %]>Days</option>
+                                                         </select>
+                                                       </td>
                                                         <td>[% IF ( rule.hardduedate ) %]
                                                                [% IF ( rule.hardduedatebefore ) %]before [% rule.hardduedate %]</td>
                                                                [% ELSE %][% IF ( rule.hardduedateexact ) %]on [% rule.hardduedate %]</td>