mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
add support for authorized downloads
This commit is contained in:
@@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
<div *ngVar="(filesRD$ | async)?.payload?.page as files">
|
<div *ngVar="(filesRD$ | async)?.payload?.page as files">
|
||||||
<ds-process-detail-field *ngIf="files && files?.length > 0" id="process-files" [title]="'process.detail.output-files'">
|
<ds-process-detail-field *ngIf="files && files?.length > 0" id="process-files" [title]="'process.detail.output-files'">
|
||||||
<div *ngFor="let file of files">
|
<ds-file-download-link *ngFor="let file of files; let last=last;" [href]="file?._links?.content?.href" [download]="getFileName(file)">
|
||||||
<span><a [href]="file?._links?.content?.href">{{getFileName(file)}}</a></span>
|
<span>{{getFileName(file)}}</span>
|
||||||
<span>({{file?.sizeBytes | dsFileSize}})</span>
|
<span>({{(file?.sizeBytes) | dsFileSize }})</span>
|
||||||
</div>
|
</ds-file-download-link>
|
||||||
</ds-process-detail-field>
|
</ds-process-detail-field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user