1 [% PROCESS "opac/parts/header.tt2";
2 PROCESS "opac/parts/misc_util.tt2";
3 PROCESS "opac/parts/hold_status.tt2";
4 PROCESS "opac/parts/myopac/column_sort_support.tt2";
5 WRAPPER "opac/parts/myopac/base.tt2";
6 myopac_page = "ebook_holds";
7 limit = (ctx.holds_limit.defined) ? ctx.holds_limit : 0;
8 offset = (ctx.holds_offset.defined) ? ctx.holds_offset : 0;
9 count = (ctx.holds_ids.size.defined) ? ctx.holds_ids.size : 0;
11 <h3 class="sr-only">[% l('My E-Item Holds') %]</h3>
12 <div id='myopac_holds_div'>
14 <div id="acct_holds_tabs">
16 <a href='[% mkurl('holds', {}, ['limit','offset','available','sort','sort_type']) %]'>[% l("Items on Hold") %]</a>
18 [% IF ctx.curbside_pickup_libs.size %]
20 <a href='[% mkurl('holds_curbside',{},['limit','offset']) %]'>[% l("Curbside Pickup") %]</a>
23 <div class="align selected">
24 <a href='#'>[% l("E-Items on Hold") %]</a>
27 <a href='[% mkurl('ebook_holds_ready', {}, ['limit','offset','available','sort','sort_type']) %]'>[% l("E-Items Ready for Checkout") %]</a>
30 <a href='[% mkurl('hold_history', {}, ['limit','offset','available','sort','sort_type']) %]'>[% l("Holds History") %]</a>
34 <div class="header_middle">
35 <span class="float-left">[% l('E-Items on Hold') %]</span>
37 <div class="clear-both"></div>
38 <div id="no_ebook_holds" class="warning_box hidden">[% l('You have no e-item holds.') %]</div>
39 <div id="ebook_cancel_hold_failed" class="warning_box hidden">[% l('Hold could not be canceled.') %]</div>
40 <div id="ebook_cancel_hold_succeeded" class="success hidden">[% l('Your hold has been canceled.') %]</div>
41 <div id="ebook_spinner"><img src="[% ctx.media_prefix %]/opac/images/progressbar_green.gif[% ctx.cache_key %]" alt="[% l("Loading...") %]"/></div>
42 <div id='ebook_holds_main' class="hidden">
43 <table id="ebook_holds_main_table"
44 title="[% l('E-Items on Hold') %]"
45 class="table_no_border_space table_no_cell_pad item_list_padding">
48 <th>[% l("Title") %]</th>
49 <th>[% l("Author") %]</th>
50 <th>[% l("Expire Date") %]</th>
51 <th>[% l("Status") %]</th>
52 <th>[% l("Actions") %]</th>
55 <tbody id="ebook_holds_main_table_body"></tbody>