2018-01-24 15:39:05 +01:00
|
|
|
<a ion-item text-wrap class="item-media" (click)="download($event, true)" detail-none>
|
2017-12-18 13:06:12 +01:00
|
|
|
<img [src]="fileIcon" alt="" role="presentation" item-start />
|
2018-09-27 13:01:42 +02:00
|
|
|
<h2>{{fileName}}</h2>
|
|
|
|
<p *ngIf="fileSizeReadable">{{ fileSizeReadable }}</p>
|
2018-12-13 15:35:47 +01:00
|
|
|
<p *ngIf="showTime">{{ timemodified * 1000 | coreFormatDate }}</p>
|
2019-04-24 14:11:43 +02:00
|
|
|
|
2017-12-18 13:06:12 +01:00
|
|
|
<div class="buttons" item-end>
|
2019-04-24 14:11:43 +02:00
|
|
|
<core-download-refresh [status]="state" [enabled]="canDownload" [loading]="isDownloading" [canTrustDownload]="!alwaysDownload" (action)="download()"></core-download-refresh>
|
|
|
|
|
2017-12-18 13:06:12 +01:00
|
|
|
<button ion-button clear icon-only (click)="delete($event)" *ngIf="!isDownloading && canDelete" [attr.aria-label]="'core.delete' | translate" color="danger">
|
|
|
|
<ion-icon name="trash"></ion-icon>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</a>
|