7634103fd730420978c4a5c21edfecf009e5fe6a
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / catalog / record / actions.component.html
1
2 <eg-string key="catalog.record.toast.conjoined" 
3   i18n-text text="Conjoined Record Target Set"></eg-string>
4 <eg-string key="catalog.record.toast.overlay" 
5   i18n-text text="Record Overlay Target Set"></eg-string>
6 <eg-string key="catalog.record.toast.holdTransfer" 
7   i18n-text text="Hold Transfer Target Set"></eg-string>
8 <eg-string key="catalog.record.toast.volumeTransfer" 
9   i18n-text text="Volume Transfer Target Set"></eg-string>
10 <eg-string key="catalog.record.toast.cleared" 
11   text="Record Marks Cleared"></eg-string>
12
13 <eg-bucket-dialog #recordBucketDialog bucketClass="biblio" [itemIds]="[recId]">
14 </eg-bucket-dialog>
15
16 <div class="row ml-0 mr-0">
17
18   <a target="_blank" href="/eg/opac/record/{{recId}}">
19     <button class="btn btn-info ml-1" i18n>View in Catalog</button>
20   </a>
21
22   <a routerLink="/staff/catalog/hold/T" [queryParams]="{target: recId}">
23     <button class="btn btn-info ml-1" i18n>Place Hold</button>
24   </a>
25
26   <button class="btn btn-info ml-1" (click)="addVolumes()" i18n>
27     Add Holdings
28   </button>
29
30   <div ngbDropdown placement="bottom-right" class="ml-1">
31     <button class="btn btn-info" id="actionsForDd" 
32       ngbDropdownToggle i18n>Mark For...</button>
33     <div ngbDropdownMenu aria-labelledby="actionsForDd">
34       <button class="dropdown-item" (click)="mark('conjoined')">
35         <span i18n>
36           Conjoined Items<ng-container *ngIf="targets.conjoined.current"> 
37             (Currently {{targets.conjoined.current}})</ng-container>
38         </span>
39       </button>
40       <button class="dropdown-item" (click)="mark('overlay')">
41         <span i18n>
42           Overlay Target<ng-container *ngIf="targets.overlay.current"> 
43             (Currently {{targets.overlay.current}})</ng-container>
44         </span>
45       </button>
46       <button class="dropdown-item" (click)="mark('holdTransfer')">
47         <span i18n>
48           Title Hold Transfer<ng-container *ngIf="targets.holdTransfer.current"> 
49             (Currently {{targets.holdTransfer.current}})</ng-container>
50         </span>
51       </button>
52       <button class="dropdown-item" (click)="mark('volumeTransfer')">
53         <span i18n>
54           Volume Transfer<ng-container *ngIf="targets.volumeTransfer.current"> 
55             (Currently {{targets.volumeTransfer.current}})</ng-container>
56         </span>
57       </button>
58       <button class="dropdown-item" (click)="clearMarks()">
59         <span i18n>Reset Record Marks</span>
60       </button>
61     </div>
62   </div>
63
64   <div ngbDropdown placement="bottom-right" class="ml-1">
65     <button class="btn btn-info" id="otherActionsForDd" 
66       ngbDropdownToggle i18n>Other Actions</button>
67     <div ngbDropdownMenu aria-labelledby="otherActionsForDd">
68       <button class="dropdown-item" (click)="recordBucketDialog.open({size: 'lg'})">
69         <span i18n>Add To Bucket</span>
70       </button>
71       <a class="dropdown-item" 
72         href="/eg/staff/acq/legacy/lineitem/related/{{recId}}?target=bib">
73         <span i18n>View/Place Orders</span>
74       </a>
75     </div>
76   </div>
77 </div>
78