76bde685224f689350f22732dddc99b1357c90fb
[working/Evergreen.git] / Open-ILS / src / templates / opac / myopac / ebook_holds.tt2
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;
10 %]
11 <h3 class="sr-only">[% l('My E-Item Holds') %]</h3>
12 <div id='myopac_holds_div'>
13
14     <div id="acct_holds_tabs">
15         <div class="align">
16             <a href='[% mkurl('holds', {}, ['limit','offset','available','sort','sort_type']) %]'>[% l("Items on Hold") %]</a>
17         </div>
18         <div class="align selected">
19             <a href='#'>[% l("E-Items on Hold") %]</a>
20         </div>
21         <div class="align">
22             <a href='[% mkurl('ebook_holds_ready', {}, ['limit','offset','available','sort','sort_type']) %]'>[% l("E-Items Ready for Checkout") %]</a>
23         </div>
24         <div class="align">
25             <a href='[% mkurl('hold_history', {}, ['limit','offset','available','sort','sort_type']) %]'>[% l("Holds History") %]</a>
26         </div>
27     </div>
28
29     <div class="header_middle">
30         <span class="float-left">[% l('E-Items on Hold') %]</span>
31     </div>
32     <div class="clear-both"></div>
33     <div id="no_ebook_holds" class="warning_box hidden">[% l('You have no e-item holds.') %]</div>
34     <div id='ebook_holds_main' class="hidden">
35         <table id="ebook_holds_main_table"
36             title="[% l('E-Items on Hold') %]"
37             class="table_no_border_space table_no_cell_pad item_list_padding">
38             <thead>
39             <tr>
40                 <th>[% l("Title") %]</th>
41                 <th>[% l("Author") %]</th>
42                 <th>[% l("Expire Date") %]</th>
43                 <th>[% l("Status") %]</th>
44                 <th>[% l("Actions") %]</th>
45             </tr>
46             </thead>
47             <tbody id="ebook_holds_main_table_body"></tbody>
48         </table>
49     </div>
50 </div>
51 [% END %]