LP1888723 Angular holdings from catalog edit link; 1i8n repairs
authorBill Erickson <berickxx@gmail.com>
Fri, 14 Aug 2020 16:48:29 +0000 (12:48 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Sun, 15 Aug 2021 23:54:54 +0000 (19:54 -0400)
The 'Edit' link in the copy table within the Angular staff catalog nows
directs users to the Angular volcopy editor.

Remove a number of nested 1i8n declarations.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html
Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.html
Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html

index 22e75b1..128e369 100644 (file)
@@ -88,7 +88,7 @@
           <ul class="list-group list-group-flush p-2">
             <li class="list-group-item">
               <div class="row">
-                <div class="col-lg-4" i18n>
+                <div class="col-lg-4">
                   <label for="default-classification" i18n>Default Classification</label>
                 </div>
                 <div class="col-lg-8">
             </li>
             <li class="list-group-item">
               <div class="row">
-                <div class="col-lg-4" i18n>
+                <div class="col-lg-4">
                   <label for="default-prefix" i18n>Default Prefix</label>
                 </div>
                 <div class="col-lg-8">
             </li>
             <li class="list-group-item">
               <div class="row">
-                <div class="col-lg-4" i18n>
+                <div class="col-lg-4">
                   <label for="default-suffix" i18n>Default Suffix</label>
                 </div>
                 <div class="col-lg-8">
index 6f3db70..918b508 100644 (file)
     <span class="font-weight-bold" i18n>Owning Library
       <ng-container *ngIf="expand !== 1">
         <button title="Expand Column" i18n-title 
-          class="material-icon-button" (click)="expand = 1" i18n>
+          class="material-icon-button" (click)="expand = 1">
           &#x2197;
         </button>
       </ng-container>
       <ng-container *ngIf="expand === 1">
         <button title="Shrink Column" i18n-title 
-          class="material-icon-button" (click)="expand = null" i18n>
+          class="material-icon-button" (click)="expand = null">
           &#x2199;
         </button>
       </ng-container>
     <span class="font-weight-bold" i18n>Classification
       <ng-container *ngIf="expand !== 3">
         <button title="Expand Column" i18n-title 
-          class="material-icon-button" (click)="expand = 3" i18n>
+          class="material-icon-button" (click)="expand = 3">
           &#x2197;
         </button>
       </ng-container>
       <ng-container *ngIf="expand === 3">
         <button title="Shrink Column" i18n-title 
-          class="material-icon-button" (click)="expand = null" i18n>
+          class="material-icon-button" (click)="expand = null">
           &#x2199;
         </button>
       </ng-container>
     <span class="font-weight-bold" i18n>Prefix
       <ng-container *ngIf="expand !== 4">
         <button title="Expand Column" i18n-title 
-          class="material-icon-button" (click)="expand = 4" i18n>
+          class="material-icon-button" (click)="expand = 4">
           &#x2197;
         </button>
       </ng-container>
       <ng-container *ngIf="expand === 4">
         <button title="Shrink Column" i18n-title 
-          class="material-icon-button" (click)="expand = null" i18n>
+          class="material-icon-button" (click)="expand = null">
           &#x2199;
         </button>
       </ng-container>
     <span class="font-weight-bold" i18n>Call Number Label
       <ng-container *ngIf="expand !== 5">
         <button title="Expand Column" i18n-title 
-          class="material-icon-button" (click)="expand = 5" i18n>
+          class="material-icon-button" (click)="expand = 5">
           &#x2197;
         </button>
       </ng-container>
       <ng-container *ngIf="expand === 5">
         <button title="Shrink Column" i18n-title
-          class="material-icon-button" (click)="expand = null" i18n>
+          class="material-icon-button" (click)="expand = null">
           &#x2199;
         </button>
       </ng-container>
     <span class="font-weight-bold" i18n>Suffix
       <ng-container *ngIf="expand !== 6">
         <button title="Expand Column" i18n-title 
-          class="material-icon-button" (click)="expand = 6" i18n>
+          class="material-icon-button" (click)="expand = 6">
           &#x2197;
         </button>
       </ng-container>
       <ng-container *ngIf="expand === 6">
         <button title="Shrink Column" i18n-title
-          class="material-icon-button" (click)="expand = null" i18n>
+          class="material-icon-button" (click)="expand = null">
           &#x2199;
         </button>
       </ng-container>
     <span class="font-weight-bold" i18n>Barcode
       <ng-container *ngIf="expand !== 8">
         <button title="Expand Column" i18n-title 
-          class="material-icon-button" (click)="expand = 8" i18n>
+          class="material-icon-button" (click)="expand = 8">
           &#x2197;
         </button>
       </ng-container>
       <ng-container *ngIf="expand === 8">
         <button title="Shrink Column" i18n-title
-          class="material-icon-button" (click)="expand = null" i18n>
+          class="material-icon-button" (click)="expand = null">
           &#x2199;
         </button>
       </ng-container>
     <span class="font-weight-bold" i18n>Part
       <ng-container *ngIf="expand !== 10">
         <button title="Expand Column" i18n-title 
-          class="material-icon-button" (click)="expand = 10" i18n>
+          class="material-icon-button" (click)="expand = 10">
           &#x2197;
         </button>
       </ng-container>
       <ng-container *ngIf="expand === 10">
         <button title="Shrink Column" i18n-title 
-          class="material-icon-button" (click)="expand = null" i18n>
+          class="material-icon-button" (click)="expand = null">
           &#x2199;
         </button>
       </ng-container>
index 94795fe..417ee60 100644 (file)
@@ -7,12 +7,11 @@
 <ng-template #barcodeTemplate let-copy="row" let-context="userContext">
   <div>{{copy.barcode}}</div>
   <div>
-    <a class="pl-1" target="_blank" 
-      href="/eg/staff/cat/item/{{copy.id}}" i18n>View</a>
+  <a class="pl-1" target="_blank" 
+    href="/eg/staff/cat/item/{{copy.id}}" i18n>View</a>
     <ng-container *ngIf="context.editable(copy)">
-      | 
-      <a class="pl-1" href="javascript:;"
-        (click)="openHoldingsEditor(copy.id)" i18n>Edit</a>
+      | <a class="pl-1" target="_blank"
+        routerLink="/staff/cat/volcopy/attrs/item/{{copy.id}}" i18n>Edit</a>
     </ng-container>
   </div>
 </ng-template>