1 [% PROCESS "opac/parts/header.tt2";
2 PROCESS "opac/parts/misc_util.tt2";
3 WRAPPER "opac/parts/myopac/base.tt2";
4 myopac_page = "reservations";
6 <h3 class="sr-only">[% l('Reservations') %]</h3>
7 [% IF ctx.reservations.size %]
8 <table id="acct_reservations_main_header" class="table_no_border_space table_no_cell_pad item_list_padding">
10 <th scope="col">[% l('Resource type') %]</th>
11 <th scope="col">[% l('Reservation start time') %]</th>
12 <th scope="col">[% l('Reservation end time') %]</th>
13 <th scope="col">[% l('Pickup location') %]</th>
14 <th scope="col">[% l('Status') %]</th>
16 [% FOREACH r IN ctx.reservations %]
18 <td>[% r.resource_type_name %]</td>
19 <td>[% date.format(ctx.parse_datetime(r.start_time, r.pickup_lib), DATE_FORMAT _ ' %I:%M %p') %]</td>
20 <td>[% date.format(ctx.parse_datetime(r.end_time, r.pickup_lib), DATE_FORMAT _ ' %I:%M %p') %]</td>
21 <td><a href="../library/[% r.shortname %]">[% r.pickup_name %]</a></td>
23 [% IF r.cancel_time %]
25 [% ELSIF r.pickup_time %]
26 [% l('Checked Out') %]
27 [% ELSIF r.capture_time %]
28 [% l('Ready for Pickup') %]
37 [% l('You have no current reservations') %]