mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* Create two different ProcessUpload service on for task one for process because the API are different Move the attachment task list and process list in different component outside the activiti demo component * Move the create task/process attachment in the child component
30 lines
857 B
HTML
30 lines
857 B
HTML
<div id="attachment-task-list" *ngIf="taskId">
|
|
<h5>Attachments</h5>
|
|
<div class="adf-no-form-container">
|
|
<adf-upload-drag-area
|
|
[parentId]="taskId"
|
|
[showNotificationBar]="false">
|
|
<adf-task-attachment-list #taskAttachList
|
|
*ngIf="taskId"
|
|
[taskId]="taskId"
|
|
(attachmentClick)="onAttachmentClick($event)">
|
|
</adf-task-attachment-list>
|
|
</adf-upload-drag-area>
|
|
|
|
<adf-create-task-attachment
|
|
[taskId]="taskId"
|
|
(success)="onFileUploadComplete($event)">
|
|
</adf-create-task-attachment>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div *ngIf="fileShowed">
|
|
<alfresco-viewer
|
|
[(showViewer)]="fileShowed"
|
|
[blobFile]="content"
|
|
[displayName]="contentName"
|
|
[overlayMode]="true">
|
|
</alfresco-viewer>
|
|
</div>
|