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">×</button>
5 <h4 ng-show="subs.length==1" class="modal-title">[% l('Clone Subscription') %]</h4>
6 <h4 ng-show="subs.length>1" class="modal-title">[% l('Clone Subscriptions') %]</h4>
8 <div class="modal-body">
9 <p>[% l('This feature will clone the selected subscriptions and all of their subscription notes, distributions, distribution notes, captions and patterns, streams, and routing list users.') %]</p>
10 <p>[% l('Holdings-related objects, like issuances, items, units, and summaries will not be cloned.') %]</p>
11 <p ng-show="subs.length == 1">[% l('To which bibliographic record should the new subscription be attached?') %]</p>
12 <p ng-show="subs.length > 1">[% l('To which bibliographic record should the new subscriptions be attached?') %]</p>
14 <div class="col-md-1">
15 <input type="radio" name="which_radio_button" id="same_bib"
16 ng-model="args.which_radio_button" value="same_bib">
19 <div class="col-md-11">
20 <label ng-if="subs.length==1" for="same_bib">
21 [% l('Same record as the selected subscription') %]
23 <label ng-if="subs.length>1" for="same_bib">
24 [% l('Same record as the selected subscriptions') %]
29 <div class="col-md-1">
30 <input type="radio" name="which_radio_button"
31 ng-model="args.which_radio_button" value="different_bib">
34 <div class="col-md-3">
35 <label for="different_bib">
36 [% l('Record specified by this Bid ID:') %]
39 <div class="col-md-8">
40 <input type="number" class="form-control" min="1"
41 ng-click="args.which_radio_button='different_bib'"
42 ng-model-options="{ debounce: 1000 }"
43 id="different_bib" ng-model="args.bib_id"/>
44 <div ng-show="args.bib_id">{{mvr.title}}</div>
45 <div class="alert alert-warning" ng-show="bibNotFound">
51 <div class="modal-footer">
53 ng-disabled="!args.which_radio_button||(args.which_radio_button=='different_bib'&&(!args.bib_id||bibNotFound))"
54 type="submit" class="btn btn-primary" value="[% l('OK') %]"/>
55 <button class="btn btn-warning" ng-click="cancel()">[% l('Cancel') %]</button>