Commits

Alexandre Vryghem authored 4fb914b51cd
98855: Themed FileDownloadLinkComponent
No tags

src/app/item-page/full/field-components/file-section/full-file-section.component.html

Modified
26 26
27 27 <dt class="col-md-4">{{"item.page.filesection.format" | translate}}</dt>
28 28 <dd class="col-md-8">{{(file.format | async)?.payload?.description}}</dd>
29 29
30 30
31 31 <dt class="col-md-4">{{"item.page.filesection.description" | translate}}</dt>
32 32 <dd class="col-md-8">{{file.firstMetadataValue("dc.description")}}</dd>
33 33 </dl>
34 34 </div>
35 35 <div class="col-2">
36 - <ds-file-download-link [bitstream]="file" [item]="item">
36 + <ds-themed-file-download-link [bitstream]="file" [item]="item">
37 37 {{"item.page.filesection.download" | translate}}
38 - </ds-file-download-link>
38 + </ds-themed-file-download-link>
39 39 </div>
40 40 </div>
41 41 </ds-pagination>
42 42 </div>
43 43 </div>
44 44 <div *ngVar="(licenses$ | async)?.payload as licenses">
45 45 <div *ngIf="hasValuesInBundle(licenses)">
46 46 <h5 class="simple-view-element-header">{{"item.page.filesection.license.bundle" | translate}}</h5>
47 47 <ds-pagination *ngIf="licenses?.page?.length > 0"
48 48 [hideGear]="true"
67 67
68 68 <dt class="col-md-4">{{"item.page.filesection.format" | translate}}</dt>
69 69 <dd class="col-md-8">{{(file.format | async)?.payload?.description}}</dd>
70 70
71 71
72 72 <dt class="col-md-4">{{"item.page.filesection.description" | translate}}</dt>
73 73 <dd class="col-md-8">{{file.firstMetadataValue("dc.description")}}</dd>
74 74 </dl>
75 75 </div>
76 76 <div class="col-2">
77 - <ds-file-download-link [bitstream]="file" [item]="item">
77 + <ds-themed-file-download-link [bitstream]="file" [item]="item">
78 78 {{"item.page.filesection.download" | translate}}
79 - </ds-file-download-link>
79 + </ds-themed-file-download-link>
80 80 </div>
81 81 </div>
82 82 </ds-pagination>
83 83 </div>
84 84 </div>
85 85 </ds-metadata-field-wrapper>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut