2 <h4 class="pad-vert">[% l('Hold Details') %]</h4>
4 <div class="flex-cell">[% l('Request Date') %]</div>
5 <div class="flex-cell well">{{hold.request_time() | date:'short'}}</div>
6 <div class="flex-cell">[% l('Capture Date') %]</div>
7 <div class="flex-cell well">{{hold.capture_time() | date:'short'}}</div>
8 <div class="flex-cell">[% l('Available On') %]</div>
9 <div class="flex-cell well">{{hold.shelf_time() | date:'short'}}</div>
11 <div class="flex-row">
12 <div class="flex-cell">[% l('Hold Type') %]</div>
13 <div class="flex-cell well">{{hold.hold_type()}}</div>
14 <div class="flex-cell">[% l('Current Copy') %]</div>
15 <div class="flex-cell well">
16 <a href="./cat/item/{{hold.current_copy().id()}}" target="_self">
17 {{hold.current_copy().barcode()}}
20 <div class="flex-cell">[% l('Call Number') %]</div>
21 <div class="flex-cell well">{{volume.label()}}</div>
23 <div class="flex-row">
24 <div class="flex-cell">[% l('Pickup Lib') %]</div>
25 <div class="flex-cell well">{{hold.pickup_lib().shortname()}}</div>
26 <div class="flex-cell">[% l('Status') %]</div>
27 <div class="flex-cell well">{{status_string}}</div>
28 <div class="flex-cell">[% l('Behind Desk') %]</div>
29 <div class="flex-cell well">{{hold.behind_desk() == 't'}}</div>
31 <div class="flex-row">
32 <div class="flex-cell">[% l('Current Shelf Lib') %]</div>
33 <div class="flex-cell well">{{hold.current_shelf_lib().shortname()}}</div>
34 <div class="flex-cell">[% l('Current Copy Location') %]</div>
35 <div class="flex-cell well">{{copy.location().name()}}</div>
36 <div class="flex-cell">[% l('Force Copy Quality') %]</div>
37 <div class="flex-cell well">{{hold.mint_condition() == 't'}}</div>
39 <div class="flex-row">
40 <div class="flex-cell">[% l('Email Notify') %]</div>
41 <div class="flex-cell well">{{hold.email_notify() == 't'}}</div>
42 <div class="flex-cell">[% l('Phone Notify') %]</div>
43 <div class="flex-cell well">{{hold.phone_notify()}}</div>
44 <div class="flex-cell">[% l('SMS Notify') %]</div>
45 <div class="flex-cell well">{{hold.sms_notify()}}</div>
47 <div class="flex-row">
48 <div class="flex-cell">[% l('Cancel Cause') %]</div>
49 <div class="flex-cell well">{{hold.cancel_cause().label()}}</div>
50 <div class="flex-cell">[% l('Cancel Time') %]</div>
51 <div class="flex-cell well">{{hold.cancel_time() | date:'short'}}</div>
52 <div class="flex-cell">[% l('Cancel Note') %]</div>
53 <div class="flex-cell well">{{hold.cancel_note()}}</div>
56 <ul class="nav nav-tabs pad-vert" ng-init="detail_tab='notes'">
57 <li ng-class="{active : detail_tab == 'notes'}">
58 <a href ng-click="detail_tab = 'notes'">[% l('Notes') %]</a>
60 <li ng-class="{active : detail_tab == 'notify'}">
61 <a href ng-click="show_notify_tab()">
62 [% l('Staff Notifications') %]
66 <div class="tab-content">
67 <div class="tab-pane active">
69 <div ng-if="detail_tab == 'notes'">
71 <button class="btn btn-default" ng-click="new_note()">
75 <div class="row pad-vert" ng-repeat="note in hold.notes()">
76 <div class="col-md-12">
78 <div class="col-md-6 strong-text">{{note.title()}}</div>
79 <div class="col-md-6">
80 <div class="pull-right">
81 <span class="pad-horiz alert alert-info"
82 ng-if="note.slip() == 't'">[% l('Print on Slip') %]</span>
83 <span class="pad-horiz alert alert-warning"
84 ng-if="note.pub() == 't'">[% l('Patron Visible') %]</span>
85 <span class="pad-horiz alert alert-info"
86 ng-if="note.pub() == 'f'">[% l('Staff Only') %]</span>
87 <span class="pad-horiz alert alert-info"
88 ng-if="note.staff() == 't'">[% l('Staff Created') %]</span>
89 <span class="pad-horiz alert alert-info"
90 ng-if="note.staff() == 'f'">[% l('Patron Created') %]</span>
95 <!-- hmm, not sure why the margin-left is needed.. the well? -->
96 <div class="col-md-12 well" style="margin-left:12px">
98 <div class="col-md-8">
99 <div class="">{{note.body()}}</div>
101 <div class="col-md-4">
102 <div class="pull-right">
103 <button ng-click="delete_note(note)" class="btn btn-warning">
113 </div><!-- notes tab content -->
115 <div ng-if="detail_tab == 'notify'">
117 <button class="btn btn-default" ng-click="new_notification()">
118 [% l('Add Record of Notification') %]
121 <div class="row pad-vert"
122 ng-repeat="notify in hold.notifications()">
123 <div class="col-md-12">
125 <div class="col-md-6 strong-text">{{notify.method()}}</div>
126 <div class="col-md-6">
127 <div class="pull-right">
128 <span class="pad-horiz">{{notify.notify_time() | date:'short'}}</span>
129 <span>[% l('Created by [_1]', '{{notify.notify_staff().usrname()}}') %]</span>
134 <!-- hmm, not sure why the margin-left is needed.. the well? -->
135 <div class="col-md-12 well" style="margin-left:12px">
137 <div class="col-md-8">
138 <div class="">{{notify.note()}}</div>
145 </div><!-- notes tab content -->
147 </div><!-- tab pane -->
148 </div><!-- tab-content -->