forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
115051: Created ThemedAdminWorkflowPageComponent
- Loading branch information
1 parent
99384a7
commit 970b19b
Showing
7 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/app/admin/admin-workflow-page/themed-admin-workflow-page.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Component } from '@angular/core'; | ||
import { ThemedComponent } from '../../shared/theme-support/themed.component'; | ||
import { AdminWorkflowPageComponent } from './admin-workflow-page.component'; | ||
|
||
/** | ||
* Themed wrapper for {@link AdminWorkflowPageComponent} | ||
*/ | ||
@Component({ | ||
selector: 'ds-themed-admin-workflow-page', | ||
templateUrl: '../../shared/theme-support/themed.component.html', | ||
}) | ||
export class ThemedAdminWorkflowPageComponent extends ThemedComponent<AdminWorkflowPageComponent> { | ||
|
||
protected getComponentName(): string { | ||
return 'AdminWorkflowPageComponent'; | ||
} | ||
|
||
protected importThemedComponent(themeName: string): Promise<any> { | ||
return import(`../../../themes/${themeName}/app/admin/admin-workflow-page/admin-workflow-page.component`); | ||
} | ||
|
||
protected importUnthemedComponent(): Promise<any> { | ||
return import('./admin-workflow-page.component'); | ||
} | ||
|
||
} |
Empty file.
Empty file.
12 changes: 12 additions & 0 deletions
12
src/themes/custom/app/admin/admin-workflow-page/admin-workflow-page.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Component } from '@angular/core'; | ||
import { AdminWorkflowPageComponent as BaseComponent } from '../../../../../app/admin/admin-workflow-page/admin-workflow-page.component'; | ||
|
||
@Component({ | ||
selector: 'ds-admin-workflow-page', | ||
// styleUrls: ['./admin-workflow-page.component.scss'], | ||
styleUrls: ['../../../../../app/admin/admin-workflow-page/admin-workflow-page.component.scss'], | ||
// templateUrl: './admin-workflow-page.component.html', | ||
templateUrl: '../../../../../app/admin/admin-workflow-page/admin-workflow-page.component.html', | ||
}) | ||
export class AdminWorkflowPageComponent extends BaseComponent { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters