mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#152 Support for custom 'empty folder' template
- default background image for empty folders - support for user-defined custom templates - readme updated
This commit is contained in:
@@ -23,7 +23,8 @@ import {
|
||||
EventEmitter,
|
||||
AfterContentInit,
|
||||
AfterViewChecked,
|
||||
OnChanges
|
||||
OnChanges,
|
||||
TemplateRef
|
||||
} from 'angular2/core';
|
||||
import { AlfrescoService } from './../services/alfresco.service';
|
||||
import { MinimalNodeEntity, NodePaging } from './../models/document-library.model';
|
||||
@@ -45,6 +46,8 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit,
|
||||
|
||||
DEFAULT_ROOT_FOLDER: string = '/Sites/swsdp/documentLibrary';
|
||||
|
||||
__baseUrl = __moduleName.replace('/document-list.js', '');
|
||||
|
||||
@Input()
|
||||
navigate: boolean = true;
|
||||
|
||||
@@ -73,6 +76,7 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit,
|
||||
|
||||
actions: ContentActionModel[] = [];
|
||||
columns: ContentColumnModel[] = [];
|
||||
emptyFolderTemplate: TemplateRef;
|
||||
|
||||
private _folder: NodePaging;
|
||||
|
||||
|
Reference in New Issue
Block a user