[ADF-971] Create task/process attachment should show the new button (#2069)

* Remove the drag and drop
Change the design button
Fix the Event with the name inside the Readme

* Fix unit test

* Rollback id button
This commit is contained in:
Maurizio Vitale
2017-07-11 14:12:54 +01:00
committed by Eugenio Romano
parent 50fef106a8
commit 8a509e3c31
11 changed files with 42 additions and 93 deletions

View File

@@ -0,0 +1,3 @@
adf-create-process-attachment >>> button {
float: right;
}

View File

@@ -13,7 +13,7 @@
<adf-create-process-attachment
[processInstanceId]="processId"
(contentCreated)="onFileUploadComplete($event)">
(success)="onFileUploadComplete($event)">
</adf-create-process-attachment>
</div>

View File

@@ -22,6 +22,7 @@ import { UploadService } from 'ng2-alfresco-core';
@Component({
selector: 'activiti-process-attachments',
templateUrl: './activiti-process-attachments.component.html',
styleUrls: ['./activiti-process-attachments.component.css'],
providers: [
{ provide: UploadService, useClass: ProcessUploadService }
]

View File

@@ -0,0 +1,3 @@
adf-create-task-attachment >>> button {
float: right;
}

View File

@@ -22,6 +22,7 @@ import { UploadService } from 'ng2-alfresco-core';
@Component({
selector: 'activiti-task-attachments',
templateUrl: './activiti-task-attachments.component.html',
styleUrls: ['./activiti-task-attachments.component.css'],
providers: [
{ provide: UploadService, useClass: ProcessUploadService }
]