mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#9 i18n fixes for columns and actions
This commit is contained in:
@@ -21,6 +21,16 @@ export class ContentActionModel {
|
||||
handler: ContentActionHandler;
|
||||
type: string;
|
||||
target: string;
|
||||
|
||||
constructor(obj?: any) {
|
||||
if (obj) {
|
||||
this.icon = obj.icon;
|
||||
this.title = obj.title;
|
||||
this.handler = obj.handler;
|
||||
this.type = obj.type;
|
||||
this.target = obj.target;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export interface ContentActionHandler {
|
||||
|
@@ -20,4 +20,13 @@ export class ContentColumnModel {
|
||||
srTitle: string;
|
||||
source: string;
|
||||
cssClass: string;
|
||||
|
||||
constructor(obj?: any) {
|
||||
if (obj) {
|
||||
this.title = obj.title;
|
||||
this.srTitle = obj.srTitle;
|
||||
this.source = obj.source;
|
||||
this.cssClass = obj.cssClass;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user