|
Lines 60-66
Link Here
|
| 60 |
|
60 |
|
| 61 |
[% UNLESS policy.enabled %] |
61 |
[% UNLESS policy.enabled %] |
| 62 |
<div class="dialog alert"> |
62 |
<div class="dialog alert"> |
| 63 |
Curbside pickups are not enabled for your location. |
63 |
Curbside pickups are not enabled for your library. |
| 64 |
</div> |
64 |
</div> |
| 65 |
[% INCLUDE 'intranet-bottom.inc' %] |
65 |
[% INCLUDE 'intranet-bottom.inc' %] |
| 66 |
[% STOP %] |
66 |
[% STOP %] |
|
Lines 72-78
Link Here
|
| 72 |
[% CASE 'not_enabled' %] |
72 |
[% CASE 'not_enabled' %] |
| 73 |
<span>The curbside pickup feature is not enabled for this library.</span> |
73 |
<span>The curbside pickup feature is not enabled for this library.</span> |
| 74 |
[% CASE 'library_is_closed' %] |
74 |
[% CASE 'library_is_closed' %] |
| 75 |
<span>Cannot create a curbside pickup for this day, it is an holiday.</span> |
75 |
<span>Cannot create a curbside pickup for this day, it is a holiday.</span> |
| 76 |
[% CASE 'no_waiting_holds' %] |
76 |
[% CASE 'no_waiting_holds' %] |
| 77 |
<span>This patron does not have waiting holds.</span> |
77 |
<span>This patron does not have waiting holds.</span> |
| 78 |
[% CASE 'too_many_pickups' %] |
78 |
[% CASE 'too_many_pickups' %] |
|
Lines 150-156
Link Here
|
| 150 |
<table class="table table-striped"> |
150 |
<table class="table table-striped"> |
| 151 |
<thead> |
151 |
<thead> |
| 152 |
<tr> |
152 |
<tr> |
| 153 |
<th>Pickup Date/Time</th> |
153 |
<th>Pickup date/time</th> |
| 154 |
<th>Patron</th> |
154 |
<th>Patron</th> |
| 155 |
<th>Items for pickup</th> |
155 |
<th>Items for pickup</th> |
| 156 |
<th>Action</th> |
156 |
<th>Action</th> |
|
Lines 219-225
Link Here
|
| 219 |
<table class="table table-striped"> |
219 |
<table class="table table-striped"> |
| 220 |
<thead> |
220 |
<thead> |
| 221 |
<tr> |
221 |
<tr> |
| 222 |
<th>Pickup Date/Time</th> |
222 |
<th>Pickup date/time</th> |
| 223 |
<th>Patron</th> |
223 |
<th>Patron</th> |
| 224 |
<th>Items for pickup</th> |
224 |
<th>Items for pickup</th> |
| 225 |
<th>Staged by</th> |
225 |
<th>Staged by</th> |
|
Lines 301-307
Link Here
|
| 301 |
<table class="table table-striped"> |
301 |
<table class="table table-striped"> |
| 302 |
<thead> |
302 |
<thead> |
| 303 |
<tr> |
303 |
<tr> |
| 304 |
<th>Pickup Date/Time</th> |
304 |
<th>Pickup date/time</th> |
| 305 |
<th>Patron</th> |
305 |
<th>Patron</th> |
| 306 |
<th>Items for pickup</th> |
306 |
<th>Items for pickup</th> |
| 307 |
<th>Staged by</th> |
307 |
<th>Staged by</th> |
|
Lines 383-389
Link Here
|
| 383 |
<table class="table table-striped"> |
383 |
<table class="table table-striped"> |
| 384 |
<thead> |
384 |
<thead> |
| 385 |
<tr> |
385 |
<tr> |
| 386 |
<th>Deliver Date/Time</th> |
386 |
<th>Deliver date/time</th> |
| 387 |
<th>Patron</th> |
387 |
<th>Patron</th> |
| 388 |
<th>Items checked out</th> |
388 |
<th>Items checked out</th> |
| 389 |
</tr> |
389 |
</tr> |
|
Lines 466-472
Link Here
|
| 466 |
</p> |
466 |
</p> |
| 467 |
[% END %] |
467 |
[% END %] |
| 468 |
[% ELSE %] |
468 |
[% ELSE %] |
| 469 |
<span>There is no waiting holds for this patron at this location.</span> |
469 |
<span>There are no waiting holds for this patron at this location.</span> |
| 470 |
[% END %] |
470 |
[% END %] |
| 471 |
</span> |
471 |
</span> |
| 472 |
</li> |
472 |
</li> |
|
Lines 546-559
Link Here
|
| 546 |
let available_count = 0; |
546 |
let available_count = 0; |
| 547 |
let dow = selectedDate.day(); // Sunday is 0 (at least for now) |
547 |
let dow = selectedDate.day(); // Sunday is 0 (at least for now) |
| 548 |
if (!slots_per_day[dow]){ |
548 |
if (!slots_per_day[dow]){ |
| 549 |
$('#pickup-times').html("<div>"+_("No pickup time define for this day.")+"</div>"); |
549 |
$('#pickup-times').html("<div>"+_("No pickup time defined for this day.")+"</div>"); |
| 550 |
return; |
550 |
return; |
| 551 |
} |
551 |
} |
| 552 |
|
552 |
|
| 553 |
slots_per_day[dow].forEach(function(slot){ |
553 |
slots_per_day[dow].forEach(function(slot){ |
| 554 |
let pickup_interval = policy.pickup_interval; |
554 |
let pickup_interval = policy.pickup_interval; |
| 555 |
if (!pickup_interval) { |
555 |
if (!pickup_interval) { |
| 556 |
$('#pickup-times').html("<div>"+_("No pickup time define for this day.")+"</div>"); |
556 |
$('#pickup-times').html("<div>"+_("No pickup time defined for this day.")+"</div>"); |
| 557 |
return; |
557 |
return; |
| 558 |
} |
558 |
} |
| 559 |
|
559 |
|