LP1821382 Link as conjoined items menu action
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / holdings / conjoined-items-dialog.component.html
1
2
3 <eg-string #successMsg
4     text="Successfully Attached Conjoined Item(s)" i18n-text></eg-string>
5 <eg-string #errorMsg 
6     text="Failed To Attach Conjoined Item(s)" i18n-text></eg-string>
7
8 <ng-template #dialogContent>
9     <div class="modal-header bg-info">
10       <h4 class="modal-title">
11         <span i18n>Attach {{copyIds.length}} Conjoined Item(s)</span>
12       </h4>
13       <button type="button" class="close" 
14         i18n-aria-label aria-label="Close" (click)="dismiss('cross_click')">
15         <span aria-hidden="true">&times;</span>
16       </button>
17     </div>
18     <div class="modal-body">
19       <div class="row form-validated">
20         <div class="col-lg-4" i18n>
21           <label for="cbox-peer-types">Peer Type:</label>
22         </div>
23         <div class="col-lg-8">
24           <eg-combobox [entries]="peerTypes" [required]="true"
25             i18n-placeholder placeholder="Peer Type..."
26             id="cbox-peer-types" (onChange)="peerTypeChanged($event)">
27           </eg-combobox>
28         </div>
29       </div>
30     </div>
31     <div class="modal-footer">
32       <ng-container>
33         <button type="button" class="btn btn-warning" 
34           (click)="dismiss('canceled')" i18n>Cancel</button>
35         <button type="button" class="btn btn-success" 
36           (click)="linkCopies()" [disabled]="!peerType" i18n>
37           Attach
38         </button>
39       </ng-container>
40     </div>
41   </ng-template>
42