]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/serials/t_link_mfhd.tt2
03820d284cef238f349e9fd046ae5dde192a6bf3
[Evergreen.git] / Open-ILS / src / templates / staff / serials / t_link_mfhd.tt2
1 <form ng-submit="ok(args)" role="form">
2     <div class="modal-header">
3         <button type="button" class="close" ng-click="cancel()" 
4         aria-hidden="true">&times;</button>
5         <h4 class="modal-title">[% l('Link MFHD') %]</h4>
6     </div>
7     <div class="modal-body">
8         <div ng-repeat="legacy in legacies">
9             <div uib-tooltip="[% l('Record ID [_1]', '{{legacy.mvr.doc_id}}') %]" tooltip-placement="left">
10                 <a target="_blank" href="/eg/staff/cat/catalog/record/{{legacy.mvr.doc_id}}">{{legacy.mvr.title}}</a>
11             </div>
12             <div>
13                 {{legacy.mvr.physical_description}}
14             </div>
15             <div ng-repeat="svr in legacy.svrs" uib-tooltip-template="'/eg/staff/serials/t_mfhd_tooltip'" tooltip-placement="left">
16                 <input type="radio" name="which_mfhd" ng-model="args.which_mfhd" ng-value="svr.sre_id" id="{{svr.sre_id}}">
17                 <label for="{{svr.sre_id}}">
18                     {{svr.location}}
19                 </label>
20             </div>
21         </div>
22     <div class="modal-footer">
23         <div class="pull-left">
24             <label>[% l('Summary Display') %]</label>
25             <select ng-model="args.summary_method">
26                 <option value="add_to_sre" selected>[% l('Both') %]</option>
27                 <option value="merge_with_sre">[% l('Merge') %]</option>
28                 <option value="use_sre_only">[% l('MFHD Only') %]</option>
29                 <option value="use_sdist_only">[% l('None') %]</option>
30             </select>
31         </div>
32         <input type="submit" class="btn btn-primary" value="[% l('OK') %]" ng-disabled="!args.which_mfhd"/>
33         <button class="btn btn-warning" ng-click="cancel()">[% l('Cancel') %]</button>
34     </div>
35 </form>