add support for authorized downloads

This commit is contained in:
Art Lowel
2020-07-01 19:00:21 +02:00
parent df5d55c246
commit 7cfa0f17a5

View File

@@ -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>