LP1835990: remove i18n inside i18n element
authorJane Sandberg <sandbej@linnbenton.edu>
Wed, 10 Jul 2019 04:33:41 +0000 (21:33 -0700)
committerBill Erickson <berickxx@gmail.com>
Mon, 15 Jul 2019 20:41:33 +0000 (16:41 -0400)
Angular doesn't allow an i18n element within another i18n element.  This
commit allows xi18n to run successfully again.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html

index 428fe44..709dff2 100644 (file)
@@ -16,7 +16,7 @@
 </ng-template>
 
 <ng-template #holdableTemplate let-copy="row" let-context="userContext">
-  <span *ngIf="context.holdable(copy)" i18n>
+  <span *ngIf="context.holdable(copy)">
     <div class="border-bottom">
       <a routerLink="/staff/catalog/hold/C"
         [queryParams]="{target: copy.id}"