Commits

Kristof De Langhe authored b578aa408bd
71504: FileDownloadLinkComponent
No tags

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

Modified
14 14
15 15 <dt class="col-md-4">{{"item.page.filesection.format" | translate}}</dt>
16 16 <dd class="col-md-8">{{(file.format | async)?.payload?.description}}</dd>
17 17
18 18
19 19 <dt class="col-md-4">{{"item.page.filesection.description" | translate}}</dt>
20 20 <dd class="col-md-8">{{file.firstMetadataValue("dc.description")}}</dd>
21 21 </dl>
22 22 </div>
23 23 <div class="col-2">
24 - <a [href]="file._links.content.href" [download]="file.name">
24 + <ds-file-download-link [href]="file._links.content.href" [download]="file.name">
25 25 {{"item.page.filesection.download" | translate}}
26 - </a>
26 + </ds-file-download-link>
27 27 </div>
28 28 </div>
29 29 </ds-metadata-field-wrapper>

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

Add shortcut