]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates-bootstrap/opac/myopac/ebook_holds.tt2
LP1778972 A slew of updates
[Evergreen.git] / Open-ILS / src / templates-bootstrap / 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      parent="holds";
8     limit = (ctx.holds_limit.defined) ? ctx.holds_limit : 0;
9     offset = (ctx.holds_offset.defined) ? ctx.holds_offset : 0;
10     count = (ctx.holds_ids.size.defined) ? ctx.holds_ids.size : 0;
11 %]
12 <h3>[% l('My E-Item Holds') %]</h3>
13 <div id='myopac_holds_div'>
14     <div id="no_ebook_holds" class="warning_box hidden">[% l('You have no e-item holds.') %]</div>
15     <div id="ebook_cancel_hold_failed" class="warning_box hidden">[% l('Hold could not be canceled.') %]</div>
16     <div id="ebook_cancel_hold_succeeded" class="success hidden">[% l('Your hold has been canceled.') %]</div>
17     <div id="ebook_spinner"><img src="[% ctx.media_prefix %]/opac/images/progressbar_green.gif[% ctx.cache_key %]" alt="[% l("Loading...") %]"/></div>
18     <div id='ebook_holds_main' class="hidden">
19         <table id="ebook_holds_main_table"
20             title="[% l('E-Items on Hold') %]"
21             class="table table-hover table-bordered miniTable w-100 eholdsTable">
22             <thead>
23             <tr>
24                 <th>[% l("Title") %]</th>
25                 <th>[% l("Author") %]</th>
26                 <th>[% l("Expire Date") %]</th>
27                 <th>[% l("Status") %]</th>
28                 <th>[% l("Actions") %]</th>
29             </tr>
30             </thead>
31             <tbody id="ebook_holds_main_table_body"></tbody>
32         </table>
33     </div>
34 </div>
35 [% END %]