@if (label) { }
@if (showPreview && (safeImageUrl || disabled)) {
@if (!safeImageUrl && disabled) {
{{ 'dashboard.empty-image' | translate }}
} @else { }
@if (safeImageUrl && showClearButton && !disabled) { }
} @if (!disabled) {
cloud_upload
image-input.drag-and-drop
image-input.or
} @if (!showPreview && safeImageUrl && showClearButton && !disabled) { }
@if ((showFileName && fileName) || (maxSizeByte && !disabled)) {
@if (showFileName && fileName) {
{{ fileName }}
} @if (maxSizeByte && !disabled) {
dashboard.maximum-upload-file-size
}
}