[ADF-1088] Task Header in TaskDetails component shows Assignee but is not editable (#2176)

* added translate keyword for assignee header

* changed people-search component to change the header according to filter type

* changed tash-header component to make assignee clickable

* imlemented people-search component to assign the task to new user

* added handler for assign task to new user

* added testcase for assign task to user

* changed mdl textbox to angular material

* changed button to md and fixed issues in testcase after changed md

* changed property for people-search component

* added ng-content selector to pass header text and action button text  and removed property from people-search component

* added no_error_schema to fix testcase issue in people component

* fixed no-task-details component test case bug

* added people-search component in read me
This commit is contained in:
Infad Kachancheri
2017-08-09 19:42:50 +05:30
committed by Mario Romano
parent ecc6aecd80
commit 5ad4fe171a
18 changed files with 260 additions and 46 deletions

View File

@@ -16,7 +16,7 @@
*/
import { DatePipe } from '@angular/common';
import { ModuleWithProviders, NgModule } from '@angular/core';
import { ModuleWithProviders, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { MdAutocompleteModule, MdButtonModule, MdCardModule, MdDatepickerModule, MdGridListModule,
MdIconModule, MdInputModule, MdNativeDateModule, MdProgressSpinnerModule, MdSelectModule } from '@angular/material';
import { ActivitiFormModule } from 'ng2-activiti-form';
@@ -176,7 +176,8 @@ export const ACTIVITI_TASKLIST_PROVIDERS: any[] = [
...ACTIVITI_TASKLIST_DIRECTIVES,
MdIconModule,
MdButtonModule
]
],
schemas: [ NO_ERRORS_SCHEMA ]
})
export class ActivitiTaskListModule {
static forRoot(): ModuleWithProviders {