| <!------------------------------------------------------------------------------- |
| * Copyright (c) 2020 Contributors to the Eclipse Foundation |
| * |
| * See the NOTICE file(s) distributed with this work for additional |
| * information regarding copyright ownership. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0 |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| --------------------------------------------------------------------------------> |
| |
| <div [formGroup]="appFormGroup" class="attachments"> |
| |
| <app-attachment-list-form *ngIf="(attachments$ | async)?.length > 0" |
| (appDownloadAttachment)="downloadAttachment($event)" |
| [appFormArrayName]="'edit'" |
| [appFormGroup]="appFormGroup" |
| [appTagList]="appWithoutTagControl ? null : (tagList$ | async)" |
| [appTitle]="'attachments.edit' | translate" |
| class="attachments--container"> |
| </app-attachment-list-form> |
| |
| <app-attachment-file-drop-form |
| [appAutoTagIds]="appAutoTagIds" |
| [appFormArrayName]="'add'" |
| [appFormGroup]="appFormGroup" |
| [appTagList]="appWithoutTagControl ? null : (tagList$ | async)" |
| [appTitle]="'attachments.add' | translate" |
| class="attachments--container"> |
| |
| </app-attachment-file-drop-form> |
| |
| </div> |