Skip to content
Snippets Groups Projects
binary-file2.component.html 659 B
Newer Older
  • Learn to ignore specific revisions
  • OZGCloud's avatar
    OZGCloud committed
    <ods-attachment
      [documentName]="file.name"
      [description]="file.size | fileSizePlain"
    
      [fileType]="getIconType(file.contentType)"
    
    OZGCloud's avatar
    OZGCloud committed
      (click)="downloadFile()"
      [attr.aria-label]="'Anhang: Dateiname: ' + file.name"
    
      [isLoading]="isLoading"
    
    OZGCloud's avatar
    OZGCloud committed
    >
    
      <div close class="flex-shrink self-center">
    
        <button
          *ngIf="deletable"
    
          class="flex size-10 items-center justify-center rounded-md hover:border hover:border-grayborder hover:bg-background-50"
    
          (click)="deleteFile()"
          title="Anhang löschen"
          aria-label="Anhang löschen Button"
        >
    
          <ods-close-icon class="fill-text"></ods-close-icon>
    
    OZGCloud's avatar
    OZGCloud committed
    </ods-attachment>