mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1768] Process list - The columns must be localisable (#2515)
* Rename processlist.component.ts to process-list.component.ts Rename processlist.component.md to process-list.component.md * Add a root scope ADF_PROCESS_LIST into the json file Remove the hardcoded string from the component and use keys Refactoring json structure * Fix unit test
This commit is contained in:
committed by
Eugenio Romano
parent
9ce0cd45e8
commit
c2cafaa648
@@ -65,8 +65,8 @@ export class ProcessInstanceListComponent implements OnChanges, AfterContentInit
|
||||
isLoading: boolean = true;
|
||||
|
||||
private defaultSchema: DataColumn[] = [
|
||||
{ type: 'text', key: 'name', title: 'Name', cssClass: 'full-width name-column', sortable: true },
|
||||
{ type: 'text', key: 'created', title: 'Created', cssClass: 'hidden', sortable: true }
|
||||
{ type: 'text', key: 'name', title: 'ADF_PROCESS_LIST.PROPERTIES.NAME', cssClass: 'full-width name-column', sortable: true },
|
||||
{ type: 'text', key: 'created', title: 'ADF_PROCESS_LIST.PROPERTIES.CREATED', cssClass: 'hidden', sortable: true }
|
||||
];
|
||||
|
||||
constructor(private processService: ProcessService) {
|
||||
|
Reference in New Issue
Block a user