7 <div class="col-lg-12 card tight-card mb-2 bg-light">
8 <div class="card-body">
10 <!-- Checkbox, jacket image, and title blob live in a flex row
11 because there's no way to give them col-lg-* columns that
12 don't waste a lot of space. -->
13 <div class="col-lg-6 d-flex">
14 <label class="checkbox">
15 <span class="font-weight-bold font-italic">
16 {{index + 1 + searchContext.pager.offset}}.
18 <input class="pl-1" type='checkbox' [(ngModel)]="isRecordSelected"
19 (change)="toggleBasketEntry()"/>
21 <!-- XXX hard-coded width so columns align vertically regardless
22 of the presence of a jacket image -->
23 <div class="pl-2 record-jacket-div" >
24 <a href="javascript:void(0)" (click)="navigateToRecord(summary)">
25 <img src="/opac/extras/ac/jacket/small/r/{{summary.id}}"/>
28 <div class="flex-1 pl-2">
30 <div class="col-lg-12 font-weight-bold">
31 <!-- nbsp allows the column to take shape when no value exists -->
32 <a href="javascript:void(0)"
33 (click)="navigateToRecord(summary)">
34 {{summary.display.title || ' '}}
38 <div class="row pt-2">
39 <div class="col-lg-12">
40 <!-- nbsp allows the column to take shape when no value exists -->
41 <a href="javascript:void(0)"
42 (click)="searchAuthor(summary)">
43 {{summary.display.author || ' '}}
47 <div class="row pt-2">
48 <div class="col-lg-12">
49 <ng-container *ngIf="summary.attributes.icon_format && summary.attributes.icon_format[0]">
50 <ng-container *ngFor="let icon of summary.attributes.icon_format">
53 src="/images/format_icons/icon_format/{{icon}}.png"/>
54 <span>{{iconFormatLabel(icon)}}</span>
58 <span class='pl-1'>{{summary.display.edition}}</span>
59 <span class='pl-1'>{{summary.display.pubdate}}</span>
64 <div class="col-lg-2">
65 <div class="row" [ngClass]="{'pt-2':copyIndex > 0}"
66 *ngFor="let copyCount of summary.holdingsSummary; let copyIdx = index">
67 <div class="w-100" *ngIf="copyCount.type == 'staff'">
68 <div class="float-left text-left w-50">
70 {{copyCount.available}} / {{copyCount.count}} items
73 <div class="float-left w-50">
74 @ {{orgName(copyCount.org_unit)}}
79 <div class="col-lg-1">
82 TCN: {{summary.record.tcn_value()}}
87 Holds: {{summary.holdCount}}
91 <div class="col-lg-3">
93 <div class="col-lg-12">
94 <div class="float-right small-text-1">
95 Created {{summary.record.create_date() | date:'shortDate'}} by
96 <!-- creator if fleshed after the initial data set is loaded -->
97 <a *ngIf="summary.record.creator().usrname" target="_self"
98 href="/eg/staff/circ/patron/{{summary.record.creator().id()}}/checkout">
99 {{summary.record.creator().usrname()}}
101 <!-- add a spacer pending data to reduce page shuffle -->
102 <span *ngIf="!summary.record.creator().usrname"> ... </span>
106 <div class="row pt-2">
107 <div class="col-lg-12">
108 <div class="float-right small-text-1" i18n>
109 Edited {{summary.record.edit_date() | date:'shortDate'}} by
110 <a *ngIf="summary.record.editor().usrname" target="_self"
111 href="/eg/staff/circ/patron/{{summary.record.editor().id()}}/checkout">
112 {{summary.record.editor().usrname()}}
114 <span *ngIf="!summary.record.editor().usrname"> ... </span>
118 <div class="row pt-2">
119 <div class="col-lg-12">
120 <div class="float-right">
122 <button (click)="placeHold()"
123 class="btn btn-sm btn-success label-with-material-icon small-text-1">
124 <span class="material-icons">check</span>
125 <span i18n>Place Hold</span>
133 </div><!-- card-body -->