Missing " caused an HTML rendering issue, and explicitly allow reselection of your...
authorMike Rylander <mrylander@gmail.com>
Fri, 5 Jun 2020 15:27:24 +0000 (11:27 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 5 Jun 2020 15:27:24 +0000 (11:27 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/myopac/holds_curbside.tt2

index 813cef2..c90df86 100644 (file)
                       [% FOR t IN ctx.cs_times.$current_date %]
                         <option value="[% t.0 | html %]"
                           [% IF cs_time == t.0; found_time=1 %] selected="selected"[% END %]
-                          [% IF t.1 == 0 %] disabled="disabled[% END %]>[% date.format(current_date _ ' ' _ t.0,'%l:%M %p') | html %]
+                          [% IF t.1 <= 0 && cs_time != t.0 %] disabled="disabled"[% END %]>
+                            [% date.format(current_date _ ' ' _ t.2,'%l:%M %p') | html %]
                         </option>
                       [% END %]
                       [% IF cs_time && !found_time %]