Stop asciidoc from squawking about missing list number
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / catalog / record / copies.component.html
1 <ng-template #cnTemplate let-copy="row">
2   {{copy.call_number_prefix_label}}
3   {{copy.call_number_label}}
4   {{copy.call_number_suffix_label}}
5 </ng-template>
6
7 <ng-template #barcodeTemplate let-copy="row">
8   <div>{{copy.barcode}}</div>
9   <div>
10   <a class="pl-1" href="/eg/staff/cat/item/{{copy.id}}" i18n>View</a>
11   | 
12   <a class="pl-1" href="/eg/staff/cat/item/{{copy.id}}/edit" i18n>Edit</a>
13   </div>
14 </ng-template>
15
16 <ng-template #holdableTemplate let-copy="row" let-context="userContext">
17   <span *ngIf="context.holdable(copy)" i18n>Yes</span>
18   <span *ngIf="!context.holdable(copy)" i18n>No</span>
19 </ng-template>
20
21 <div class='eg-copies w-100 mt-3'>
22   <eg-grid #copyGrid [dataSource]="gridDataSource" 
23     [disableSelect]="true"
24     [sortable]="false" persistKey="catalog.record.copies">
25     <eg-grid-column i18n-label label="Copy ID" path="id" 
26       [hidden]="true" [index]="true">
27     </eg-grid-column>
28     <eg-grid-column i18n-label label="Location" path="circ_lib" datatype="org_unit">
29     </eg-grid-column>
30     <eg-grid-column i18n-label label="Call Number / Copy Notes" 
31       name="callnumber" [cellTemplate]="cnTemplate">
32     </eg-grid-column>
33     <eg-grid-column i18n-label label="Barcode" name="barcode"
34       [cellTemplate]="barcodeTemplate">
35     </eg-grid-column>
36     <eg-grid-column i18n-label label="Shelving Location" path="copy_location">
37     </eg-grid-column>
38     <eg-grid-column i18n-label label="Circulation Modifier" path="circ_modifier">
39     </eg-grid-column>
40     <eg-grid-column i18n-label label="Age Hold Protection" path="age_protect">
41     </eg-grid-column>
42     <eg-grid-column i18n-label label="Active/Create Date" 
43       path="active_date" datatype="timestamp">
44     </eg-grid-column>
45     <eg-grid-column i18n-label label="Holdable?" name="holdable" 
46       [cellTemplate]="holdableTemplate" [cellContext]="copyContext">
47     </eg-grid-column>
48     <eg-grid-column i18n-label label="Status" path="copy_status">
49     </eg-grid-column>
50     <eg-grid-column i18n-label label="Due Date" path="due_date" datatype="timestamp">
51     </eg-grid-column>
52   </eg-grid>
53 </div>
54