1 <form class="form-validated" novalidate ng-submit="ok()" name="form">
3 <div class="modal-content">
4 <div class="modal-header">
5 <button type="button" class="close"
6 ng-click="cancel()" aria-hidden="true">×</button>
7 <h4 class="modal-title">[% l('Open Circulation') %]</h4>
9 <div class="modal-body">
10 <div ng-if="sameUser">
11 [% |l("{{circDate | date:'shortDate'}}") %]
12 There is an open circulation on the requested item.
13 This item was already checked out to this user on [_1].
16 <div ng-if="!sameUser">
17 [% |l("{{circDate | date:'shortDate'}}") %]
18 There is an open circulation on the requested item.
19 This copy was checked out by another patron on [_1].
23 <div class="modal-footer">
24 <input if="!sameUser" type="submit" class="btn btn-primary"
25 value="[% l('Normal Checkin then Checkout') %]"/>
26 <input ng-if="sameUser" type="submit" class="btn btn-primary"
27 value="[% l('Renew') %]"/>
28 <button class="btn btn-warning"
29 ng-click="cancel($event)">[% l('Cancel') %]</button>
31 </div> <!-- modal-content -->
32 </div> <!-- modal-dialog -->