LP1869898 Angular staff cat place hold from patron
[Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_holds.tt2
1 <!-- patron holds list -->
2
3 <ul class="nav nav-tabs" ng-if="!detail_hold_id">
4   <li ng-class="{active : holds_display == 'main', disabled : detail_hold_id}">
5     <a href ng-click="show_main_list()">[% l('Open Hold Requests') %]</a>
6   </li>
7   <li ng-class="{active : holds_display == 'alt', disabled : detail_hold_id}">
8     <a href ng-click="show_alt_list()">[% l('Recently Canceled Holds') %]</a>
9   </li>
10 </ul>
11
12 <div class="pad-vert"></div>
13
14 <div ng-if="!detail_hold_id">
15 [% INCLUDE 'staff/circ/patron/t_holds_list.tt2' %]
16 </div>
17
18 <!-- hold details -->
19 <div ng-if="detail_hold_id">
20   <div class="row">
21     <div class="col-md-2">
22       <button class="btn btn-default" ng-click="list_view()">
23         [% l('List View') %]
24       </button>
25     </div>
26   </div>
27   <div class="pad-vert"></div>
28   <eg-record-summary record='detail_hold_record' 
29     record-id="detail_hold_record_id"></eg-record-summary>
30   <eg-hold-details hold-retrieved="set_hold" hold-id="detail_hold_id"></eg-hold-details>
31 </div>
32
33 <!-- catalog view for holds placement -->
34
35 <!-- Replaced with Angular catalog link
36 <div ng-if="placing_hold">
37   <eg-embed-frame url="catalog_url" handlers="handlers" 
38     onchange="handle_page"></eg-embed-frame>
39 </div>
40 -->