34 lines
731 B
JavaScript
34 lines
731 B
JavaScript
class CoachingCoachController extends EICController {
|
|
|
|
dashboard() {
|
|
let models = {
|
|
coachings: new CoachingCoachModel()
|
|
}
|
|
|
|
this.loadWindow('coachings/coach/CoachingCoachDashboardView', {
|
|
title: 'Coach dashboard',
|
|
static: true,
|
|
expanded: true
|
|
},
|
|
{
|
|
models: models
|
|
});
|
|
}
|
|
|
|
coaching(id) {
|
|
|
|
}
|
|
|
|
profile(options) {
|
|
this.loadWindow('coachings/common/CoachProfileView', {
|
|
title: 'My profile',
|
|
static: true,
|
|
expanded: true
|
|
},
|
|
{
|
|
mode: 'edit'
|
|
});
|
|
}
|
|
}
|
|
|
|
app.registerClass('CoachingCoachController', CoachingCoachController); |