1 <eg-bucket-dialog #addBasketToBucketDialog>
4 <div class="d-flex justify-content-end">
6 <div class="float-right">
7 <!-- note basket view link does not propagate search params -->
8 <a routerLink="/staff/catalog/search" [queryParams]="{showBasket: true}"
9 class="label-with-material-icon">
10 <span class="material-icons">shopping_basket</span>
11 <span i18n>({{basketCount()}})</span>
16 <div ngbDropdown placement="bottom-right">
17 <button class="btn btn-light" id="basketActions"
18 [disabled]="!basketCount()"
19 ngbDropdownToggle i18n>Basket Actions</button>
20 <div ngbDropdownMenu aria-labelledby="basketActions">
21 <button class="dropdown-item"
22 (click)="applyAction('view')" i18n>View Basket</button>
23 <button class="dropdown-item"
24 (click)="applyAction('hold')" i18n>Place Hold</button>
25 <button class="dropdown-item"
26 (click)="applyAction('print')" i18n>Print Title Details</button>
27 <button class="dropdown-item"
28 (click)="applyAction('email')" i18n>Email Title Details</button>
29 <button class="dropdown-item"
30 (click)="applyAction('bucket')" i18n>Add Basket to Bucket</button>
31 <button class="dropdown-item"
32 (click)="applyAction('export_marc')" i18n>Export Records</button>
33 <button class="dropdown-item"
34 (click)="applyAction('clear')" i18n>Clear Basket</button>
39 <!-- Note this Prefernces links is not specific to Basket handling,
40 but it's here since it allowed for consistent formatting -->
41 <a routerLink="/staff/catalog/prefs" queryParamsHandling="merge">
42 <button class="btn btn-light" i18n>Catalog Preferences</button>