Skip to content

Commit 6194191

Browse files
committedJan 19, 2021
Custom views should not be in repo.
Update debug labels for default admin view.
1 parent f7b9a0e commit 6194191

File tree

4 files changed

+5
-42
lines changed

4 files changed

+5
-42
lines changed
 

‎.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ packages/portal/frontend/**/*.map
3333
## Fork-specific resources
3434
packages/portal/backend/test/cs310/
3535
packages/portal/frontend/html/cs310/
36-
# packages/portal/frontend/src/app/custom/CustomAdminView.ts
37-
# packages/portal/frontend/src/app/custom/CustomStudentView.ts
36+
packages/portal/frontend/html/sdmm/
37+
packages/portal/frontend/src/app/custom/CustomAdminView.ts
38+
packages/portal/frontend/src/app/custom/CustomStudentView.ts
3839
packages/portal/backend/src/custom/CustomCourseController.ts
3940
packages/portal/backend/src/custom/CustomCourseRoutes.ts
4041

‎packages/portal/frontend/src/app/custom/CustomAdminView.ts

-17
This file was deleted.

‎packages/portal/frontend/src/app/custom/CustomStudentView.ts

-21
This file was deleted.

‎packages/portal/frontend/src/app/custom/DefaultAdminView.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import {AdminTabs, AdminView} from "../views/AdminView";
66
*/
77
export class DefaultAdminView extends AdminView {
88
constructor(remoteUrl: string, tabs: AdminTabs) {
9-
Log.info("CustomAdminView::<init>(..)");
9+
Log.info("DefaultAdminView::<init>(..)");
1010
super(remoteUrl, tabs);
1111
}
1212

1313
public renderPage(name: string, opts: any) {
14-
Log.info('CustomAdminView::renderPage( ' + name + ', ... ) - start; options: ' + JSON.stringify(opts));
14+
Log.info('DefaultAdminView::renderPage( ' + name + ', ... ) - start; options: ' + JSON.stringify(opts));
1515
super.renderPage(name, opts);
1616
}
1717
}

0 commit comments

Comments
 (0)
Please sign in to comment.