56 lines
1.2 KiB
JavaScript
56 lines
1.2 KiB
JavaScript
class aboutController extends EICController {
|
|
|
|
disclaimer(){
|
|
this.loadWindow('common/disclaimerView', {
|
|
title: 'Legal notice',
|
|
static: true,
|
|
expanded: true
|
|
});
|
|
}
|
|
|
|
support() {
|
|
|
|
|
|
this.loadWindow('common/support/SupportView', {
|
|
title: 'Technical support',
|
|
static: true,
|
|
expanded: true
|
|
},
|
|
{
|
|
models: { tickets: new SupportModel(["list", "create"]) }
|
|
});
|
|
}
|
|
|
|
helpdesk(){
|
|
this.loadWindow('common/HelpDeskView', {
|
|
title: 'Help Desk',
|
|
static: true,
|
|
expanded: true
|
|
});
|
|
}
|
|
|
|
guides(){
|
|
this.loadWindow('common/GuidesListView', {
|
|
title: 'Welcome Guides',
|
|
static: true,
|
|
expanded: true
|
|
},
|
|
{});
|
|
}
|
|
|
|
guide(params){
|
|
let guideMeta = app.Assets.Store.json.videoGuides.guides.find((item)=>item.id==params.params.guideID)
|
|
|
|
this.loadWindow('common/GuideView', {
|
|
title: guideMeta.title,
|
|
static: true,
|
|
expanded: true
|
|
},
|
|
{
|
|
guideMeta: guideMeta,
|
|
|
|
});
|
|
}
|
|
}
|
|
|
|
app.registerClass('aboutController', aboutController); |