</div>
</ng-template>
-<ng-template #barcodeTemplate let-copy="row" let-context="userContext">
+<!-- Temporary PINES workaround for bug 1908614 - revert after that bug is fixed -->
+<ng-template #ageprotectTemplate let-copy="row">
+ <div *ngIf="copy.age_protect == 1">3month</div>
+ <div *ngIf="copy.age_protect == 2">6month</div>
+</ng-template>
+
+<ng-template #barcodeTemplate let-copy="row">
<div>{{copy.barcode}}</div>
<div>
<a class="pl-1" target="_blank"
</eg-grid-column>
<eg-grid-column i18n-label label="Circulation Modifier" path="circ_modifier">
</eg-grid-column>
- <eg-grid-column i18n-label label="Age Hold Protection" path="age_protect">
+
+<!-- Temporary PINES workaround for bug 1908614 - revert after that bug is fixed -->
+<!-- <eg-grid-column i18n-label label="Age Hold Protection" path="age_protect">
+ </eg-grid-column> -->
+ <eg-grid-column i18n-label label="Age Hold Protection" [cellTemplate]="ageprotectTemplate">
</eg-grid-column>
+
+
<eg-grid-column i18n-label label="Active/Create Date"
path="active_date" datatype="timestamp">
</eg-grid-column>