forked from EVOgeek/Vmeda.Online
15 lines
776 B
HTML
15 lines
776 B
HTML
<a ion-item text-wrap class="item-media" (click)="download($event, true)" detail-none>
|
|
<img [src]="fileIcon" alt="" role="presentation" item-start />
|
|
<h2>{{fileName}}</h2>
|
|
<p *ngIf="fileSizeReadable">{{ fileSizeReadable }}</p>
|
|
<p *ngIf="showTime">{{ timemodified * 1000 | coreFormatDate }}</p>
|
|
|
|
<div class="buttons" item-end>
|
|
<core-download-refresh [status]="state" [enabled]="canDownload" [loading]="isDownloading" [canTrustDownload]="!alwaysDownload" (action)="download()"></core-download-refresh>
|
|
|
|
<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>
|