@if (assets.length === 0 && uploadProgress.length === 0) {
Drag and drop a file here
} @if (assets.length > 0 || uploadProgress.length > 0) {
@for (asset of assets; track trackByAssetId($index, asset)) { @if (asset.missingContent) {
Asset content is missing
} @else {
{{ asset.name }}
} } @for (progress of uploadProgress; track trackByFilename($index, progress)) {
{{ progress.filename }}
@if (progress.status === 'active') { {{ progress.percentComplete }}% } @if (progress.status === 'error') { }
}
}