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.
- Loading branch information
1 parent
9fc7b57
commit e7c0936
Showing
7 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/app/forgot-password/forgot-password-email/forgot-email.component.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<ds-register-email-form | ||
<ds-themed-register-email-form | ||
[MESSAGE_PREFIX]="'forgot-email.form'"> | ||
</ds-register-email-form> | ||
</ds-themed-register-email-form> |
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
27 changes: 27 additions & 0 deletions
27
src/app/register-email-form/themed-registry-email-form.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,27 @@ | ||
import { Component } from '@angular/core'; | ||
import { ThemedComponent } from '../shared/theme-support/themed.component'; | ||
import { RegisterEmailFormComponent } from './register-email-form.component'; | ||
|
||
/** | ||
* Themed wrapper for {@link RegisterEmailFormComponent} | ||
*/ | ||
@Component({ | ||
selector: 'ds-themed-register-email-form', | ||
styleUrls: [], | ||
templateUrl: '../shared/theme-support/themed.component.html', | ||
}) | ||
export class ThemedRegisterEmailFormComponent extends ThemedComponent<RegisterEmailFormComponent> { | ||
|
||
protected getComponentName(): string { | ||
return 'RegisterEmailFormComponent'; | ||
} | ||
|
||
protected importThemedComponent(themeName: string): Promise<any> { | ||
return import(`../../themes/${themeName}/app/register-email-form/register-email-form.component`); | ||
} | ||
|
||
protected importUnthemedComponent(): Promise<any> { | ||
return import(`./register-email-form.component`); | ||
} | ||
|
||
} |
4 changes: 2 additions & 2 deletions
4
src/app/register-page/register-email/register-email.component.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<ds-register-email-form | ||
<ds-themed-register-email-form | ||
[MESSAGE_PREFIX]="'register-page.registration'"> | ||
</ds-register-email-form> | ||
</ds-themed-register-email-form> |
Empty file.
12 changes: 12 additions & 0 deletions
12
src/themes/custom/app/register-email-form/register-email-form.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 { | ||
RegisterEmailFormComponent as BaseComponent | ||
} from '../../../../app/register-email-form/register-email-form.component'; | ||
|
||
@Component({ | ||
selector: 'ds-register-email-form', | ||
// templateUrl: './register-email-form.component.html', | ||
templateUrl: '../../../../app/register-email-form/register-email-form.component.html', | ||
}) | ||
export class RegisterEmailFormComponent 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