diff --git a/src/app/request-copy/deny-request-copy/deny-request-copy.component.html b/src/app/request-copy/deny-request-copy/deny-request-copy.component.html
index c9e909ccf1..e513212f94 100644
--- a/src/app/request-copy/deny-request-copy/deny-request-copy.component.html
+++ b/src/app/request-copy/deny-request-copy/deny-request-copy.component.html
@@ -3,7 +3,7 @@
{{'deny-request-copy.intro' | translate}}
-
+
diff --git a/src/app/request-copy/deny-request-copy/themed-deny-request-copy.component.ts b/src/app/request-copy/deny-request-copy/themed-deny-request-copy.component.ts
new file mode 100644
index 0000000000..664e4c541b
--- /dev/null
+++ b/src/app/request-copy/deny-request-copy/themed-deny-request-copy.component.ts
@@ -0,0 +1,26 @@
+import { Component } from '@angular/core';
+import { ThemedComponent } from 'src/app/shared/theme-support/themed.component';
+
+import { DenyRequestCopyComponent } from 'src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component';
+
+/**
+ * Themed wrapper for deny-request-copy.component
+ */
+@Component({
+ selector: 'ds-themed-deny-request-copy',
+ styleUrls: [],
+ templateUrl: './../../shared/theme-support/themed.component.html',
+})
+export class ThemedDenyRequestCopyComponent extends ThemedComponent {
+ protected getComponentName(): string {
+ return 'DenyRequestCopyComponent';
+ }
+
+ protected importThemedComponent(themeName: string): Promise {
+ return import(`../../../themes/${themeName}/app/request-copy/deny-request-copy/deny-request-copy.component`);
+ }
+
+ protected importUnthemedComponent(): Promise {
+ return import('./deny-request-copy.component');
+ }
+}
diff --git a/src/app/request-copy/email-request-copy/themed-email-request-copy.component.ts b/src/app/request-copy/email-request-copy/themed-email-request-copy.component.ts
new file mode 100644
index 0000000000..d010e43060
--- /dev/null
+++ b/src/app/request-copy/email-request-copy/themed-email-request-copy.component.ts
@@ -0,0 +1,44 @@
+import { Component, EventEmitter, Input, Output } from '@angular/core';
+import { ThemedComponent } from 'src/app/shared/theme-support/themed.component';
+
+import { EmailRequestCopyComponent } from './email-request-copy.component';
+import { RequestCopyEmail } from './request-copy-email.model';
+
+/**
+ * Themed wrapper for email-request-copy.component
+ */
+@Component({
+ selector: 'ds-themed-email-request-copy',
+ styleUrls: [],
+ templateUrl: './../../shared/theme-support/themed.component.html',
+})
+export class ThemedEmailRequestCopyComponent extends ThemedComponent {
+ /**
+ * Event emitter for sending the email
+ */
+ @Output() send: EventEmitter = new EventEmitter();
+
+ /**
+ * The subject of the email
+ */
+ @Input() subject: string;
+
+ /**
+ * The contents of the email
+ */
+ @Input() message: string;
+
+ protected inAndOutputNames: (keyof EmailRequestCopyComponent & keyof this)[] = ['send', 'subject', 'message'];
+
+ protected getComponentName(): string {
+ return 'EmailRequestCopyComponent';
+ }
+
+ protected importThemedComponent(themeName: string): Promise {
+ return import(`../../../themes/${themeName}/app/request-copy/email-request-copy/email-request-copy.component`);
+ }
+
+ protected importUnthemedComponent(): Promise {
+ return import('./email-request-copy.component');
+ }
+}
diff --git a/src/app/request-copy/grant-request-copy/grant-request-copy.component.html b/src/app/request-copy/grant-request-copy/grant-request-copy.component.html
index 5cb4dbac36..179206566e 100644
--- a/src/app/request-copy/grant-request-copy/grant-request-copy.component.html
+++ b/src/app/request-copy/grant-request-copy/grant-request-copy.component.html
@@ -3,7 +3,7 @@
{{'grant-request-copy.intro' | translate}}
-
+
{{ 'grant-deny-request-copy.email.permissions.info' | translate }}
-
+
diff --git a/src/app/request-copy/grant-request-copy/themed-grant-request-copy.component.ts b/src/app/request-copy/grant-request-copy/themed-grant-request-copy.component.ts
new file mode 100644
index 0000000000..625dcef57a
--- /dev/null
+++ b/src/app/request-copy/grant-request-copy/themed-grant-request-copy.component.ts
@@ -0,0 +1,26 @@
+import { Component } from '@angular/core';
+import { ThemedComponent } from 'src/app/shared/theme-support/themed.component';
+import { GrantRequestCopyComponent } from './grant-request-copy.component';
+
+/**
+ * Themed wrapper for grant-request-copy.component
+ */
+@Component({
+ selector: 'ds-themed-grant-request-copy',
+ styleUrls: [],
+ templateUrl: './../../shared/theme-support/themed.component.html',
+})
+
+export class ThemedGrantRequestCopyComponent extends ThemedComponent {
+ protected getComponentName(): string {
+ return 'GrantRequestCopyComponent';
+ }
+
+ protected importThemedComponent(themeName: string): Promise {
+ return import(`../../../themes/${themeName}/app/request-copy/grant-request-copy/grant-request-copy.component`);
+ }
+
+ protected importUnthemedComponent(): Promise {
+ return import('./grant-request-copy.component');
+ }
+}
diff --git a/src/app/request-copy/request-copy-routing.module.ts b/src/app/request-copy/request-copy-routing.module.ts
index e7a205d0aa..4138fc42a6 100644
--- a/src/app/request-copy/request-copy-routing.module.ts
+++ b/src/app/request-copy/request-copy-routing.module.ts
@@ -3,8 +3,8 @@ import { RouterModule } from '@angular/router';
import { RequestCopyResolver } from './request-copy.resolver';
import { GrantDenyRequestCopyComponent } from './grant-deny-request-copy/grant-deny-request-copy.component';
import { REQUEST_COPY_DENY_PATH, REQUEST_COPY_GRANT_PATH } from './request-copy-routing-paths';
-import { DenyRequestCopyComponent } from './deny-request-copy/deny-request-copy.component';
-import { GrantRequestCopyComponent } from './grant-request-copy/grant-request-copy.component';
+import { ThemedDenyRequestCopyComponent } from './deny-request-copy/themed-deny-request-copy.component';
+import { ThemedGrantRequestCopyComponent } from './grant-request-copy/themed-grant-request-copy.component';
@NgModule({
imports: [
@@ -21,11 +21,11 @@ import { GrantRequestCopyComponent } from './grant-request-copy/grant-request-co
},
{
path: REQUEST_COPY_DENY_PATH,
- component: DenyRequestCopyComponent,
+ component: ThemedDenyRequestCopyComponent,
},
{
path: REQUEST_COPY_GRANT_PATH,
- component: GrantRequestCopyComponent,
+ component: ThemedGrantRequestCopyComponent,
},
]
}
diff --git a/src/app/request-copy/request-copy.module.ts b/src/app/request-copy/request-copy.module.ts
index d55d5ad83f..90d741a879 100644
--- a/src/app/request-copy/request-copy.module.ts
+++ b/src/app/request-copy/request-copy.module.ts
@@ -4,8 +4,11 @@ import { SharedModule } from '../shared/shared.module';
import { GrantDenyRequestCopyComponent } from './grant-deny-request-copy/grant-deny-request-copy.component';
import { RequestCopyRoutingModule } from './request-copy-routing.module';
import { DenyRequestCopyComponent } from './deny-request-copy/deny-request-copy.component';
+import { ThemedDenyRequestCopyComponent } from './deny-request-copy/themed-deny-request-copy.component';
import { EmailRequestCopyComponent } from './email-request-copy/email-request-copy.component';
+import { ThemedEmailRequestCopyComponent } from './email-request-copy/themed-email-request-copy.component';
import { GrantRequestCopyComponent } from './grant-request-copy/grant-request-copy.component';
+import { ThemedGrantRequestCopyComponent } from './grant-request-copy/themed-grant-request-copy.component';
@NgModule({
imports: [
@@ -16,8 +19,14 @@ import { GrantRequestCopyComponent } from './grant-request-copy/grant-request-co
declarations: [
GrantDenyRequestCopyComponent,
DenyRequestCopyComponent,
+ ThemedDenyRequestCopyComponent,
EmailRequestCopyComponent,
+ ThemedEmailRequestCopyComponent,
GrantRequestCopyComponent,
+ ThemedGrantRequestCopyComponent,
+ ],
+ exports: [
+ ThemedEmailRequestCopyComponent,
],
providers: []
})
diff --git a/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.html b/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.html
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.scss b/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.scss
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.scss
@@ -0,0 +1 @@
+
diff --git a/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.ts b/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.ts
new file mode 100644
index 0000000000..628b2b3f83
--- /dev/null
+++ b/src/themes/custom/app/request-copy/deny-request-copy/deny-request-copy.component.ts
@@ -0,0 +1,15 @@
+import { Component } from '@angular/core';
+import {
+ DenyRequestCopyComponent as BaseComponent
+} from 'src/app/request-copy/deny-request-copy/deny-request-copy.component';
+
+@Component({
+ selector: 'ds-deny-request-copy',
+ // styleUrls: ['./deny-request-copy.component.scss'],
+ styleUrls: [],
+ // templateUrl: './deny-request-copy.component.html',
+ templateUrl: './../../../../../app/request-copy/deny-request-copy/deny-request-copy.component.html',
+})
+export class DenyRequestCopyComponent
+ extends BaseComponent {
+}
diff --git a/src/themes/custom/app/request-copy/email-request-copy/email-request-copy.component.html b/src/themes/custom/app/request-copy/email-request-copy/email-request-copy.component.html
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/src/themes/custom/app/request-copy/email-request-copy/email-request-copy.component.scss b/src/themes/custom/app/request-copy/email-request-copy/email-request-copy.component.scss
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/src/themes/custom/app/request-copy/email-request-copy/email-request-copy.component.ts b/src/themes/custom/app/request-copy/email-request-copy/email-request-copy.component.ts
new file mode 100644
index 0000000000..a0274f6efd
--- /dev/null
+++ b/src/themes/custom/app/request-copy/email-request-copy/email-request-copy.component.ts
@@ -0,0 +1,15 @@
+import { Component } from '@angular/core';
+import {
+ EmailRequestCopyComponent as BaseComponent
+} from 'src/app/request-copy/email-request-copy/email-request-copy.component';
+
+@Component({
+ selector: 'ds-email-request-copy',
+ // styleUrls: ['./email-request-copy.component.scss'],
+ styleUrls: [],
+ // templateUrl: './email-request-copy.component.html',
+ templateUrl: './../../../../../app/request-copy/email-request-copy/email-request-copy.component.html',
+})
+export class EmailRequestCopyComponent
+ extends BaseComponent {
+}
diff --git a/src/themes/custom/app/request-copy/grant-request-copy/grant-request-copy.component.html b/src/themes/custom/app/request-copy/grant-request-copy/grant-request-copy.component.html
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/src/themes/custom/app/request-copy/grant-request-copy/grant-request-copy.component.scss b/src/themes/custom/app/request-copy/grant-request-copy/grant-request-copy.component.scss
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/src/themes/custom/app/request-copy/grant-request-copy/grant-request-copy.component.ts b/src/themes/custom/app/request-copy/grant-request-copy/grant-request-copy.component.ts
new file mode 100644
index 0000000000..446044942e
--- /dev/null
+++ b/src/themes/custom/app/request-copy/grant-request-copy/grant-request-copy.component.ts
@@ -0,0 +1,15 @@
+import { Component } from '@angular/core';
+import {
+ GrantRequestCopyComponent as BaseComponent
+} from 'src/app/request-copy/grant-request-copy/grant-request-copy.component';
+
+@Component({
+ selector: 'ds-grant-request-copy',
+ // styleUrls: ['./grant-request-copy.component.scss'],
+ styleUrls: [],
+ // templateUrl: './grant-request-copy.component.html',
+ templateUrl: './../../../../../app/request-copy/grant-request-copy/grant-request-copy.component.html',
+})
+export class GrantRequestCopyComponent
+ extends BaseComponent {
+}
diff --git a/src/themes/custom/lazy-theme.module.ts b/src/themes/custom/lazy-theme.module.ts
index d61486ed3d..edb3f5478c 100644
--- a/src/themes/custom/lazy-theme.module.ts
+++ b/src/themes/custom/lazy-theme.module.ts
@@ -140,12 +140,22 @@ import {
MediaViewerVideoComponent
} from './app/item-page/media-viewer/media-viewer-video/media-viewer-video.component';
import { NgxGalleryModule } from '@kolkov/ngx-gallery';
+import {
+ DenyRequestCopyComponent
+} from './app/request-copy/deny-request-copy/deny-request-copy.component';
+import {
+ EmailRequestCopyComponent
+} from './app/request-copy/email-request-copy/email-request-copy.component';
+import {
+ GrantRequestCopyComponent
+} from './app/request-copy/grant-request-copy/grant-request-copy.component';
import { WorkspaceItemsDeletePageComponent } from './app/workspace-items-delete-page/workspace-items-delete/workspace-items-delete.component';
import { ThumbnailComponent } from './app/thumbnail/thumbnail.component';
import { SubmissionSectionUploadFileComponent } from './app/submission/sections/upload/file/section-upload-file.component';
import { ItemStatusComponent } from './app/item-page/edit-item-page/item-status/item-status.component';
import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component';
import { FormModule } from '../../app/shared/form/form.module';
+import { RequestCopyModule } from 'src/app/request-copy/request-copy.module';
const DECLARATIONS = [
FileSectionComponent,
@@ -221,6 +231,9 @@ const DECLARATIONS = [
MediaViewerComponent,
MediaViewerImageComponent,
MediaViewerVideoComponent,
+ DenyRequestCopyComponent,
+ EmailRequestCopyComponent,
+ GrantRequestCopyComponent,
WorkspaceItemsDeletePageComponent,
ThumbnailComponent,
SubmissionSectionUploadFileComponent,
@@ -285,6 +298,7 @@ const DECLARATIONS = [
SystemWideAlertModule,
NgxGalleryModule,
FormModule,
+ RequestCopyModule,
],
declarations: DECLARATIONS,
exports: [