#9 i18n fixes for columns and actions

This commit is contained in:
Denys Vuika
2016-05-23 16:11:20 +01:00
parent 9331e07c6e
commit 3f28925d35
5 changed files with 55 additions and 40 deletions

View File

@@ -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 {

View File

@@ -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;
}
}
}