diff --git a/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.html b/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.html
new file mode 100644
index 0000000000..90fa077e91
--- /dev/null
+++ b/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.html
@@ -0,0 +1 @@
+
admin-notify-dashboard works!
diff --git a/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.scss b/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.scss
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.spec.ts b/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.spec.ts
new file mode 100644
index 0000000000..4df980e1df
--- /dev/null
+++ b/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { AdminNotifyDashboardComponent } from './admin-notify-dashboard.component';
+
+describe('AdminNotifyDashboardComponent', () => {
+ let component: AdminNotifyDashboardComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ AdminNotifyDashboardComponent ]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(AdminNotifyDashboardComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.ts b/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.ts
new file mode 100644
index 0000000000..7959d9917f
--- /dev/null
+++ b/src/app/admin/admin-notify-dashboard/admin-notify-dashboard.component.ts
@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'ds-admin-notify-dashboard',
+ templateUrl: './admin-notify-dashboard.component.html',
+ styleUrls: ['./admin-notify-dashboard.component.scss']
+})
+export class AdminNotifyDashboardComponent {
+
+}
diff --git a/src/app/admin/admin.module.ts b/src/app/admin/admin.module.ts
index 3dc0036854..ee0d3b0d4e 100644
--- a/src/app/admin/admin.module.ts
+++ b/src/app/admin/admin.module.ts
@@ -12,6 +12,7 @@ import { ExpandableAdminSidebarSectionComponent } from './admin-sidebar/expandab
import { BatchImportPageComponent } from './admin-import-batch-page/batch-import-page.component';
import { UiSwitchModule } from 'ngx-ui-switch';
import { UploadModule } from '../shared/upload/upload.module';
+import { AdminNotifyDashboardComponent } from './admin-notify-dashboard/admin-notify-dashboard.component';
const ENTRY_COMPONENTS = [
// put only entry components that use custom decorator
@@ -34,7 +35,8 @@ const ENTRY_COMPONENTS = [
declarations: [
AdminCurationTasksComponent,
MetadataImportPageComponent,
- BatchImportPageComponent
+ BatchImportPageComponent,
+ AdminNotifyDashboardComponent
]
})
export class AdminModule {
diff --git a/src/app/menu.resolver.ts b/src/app/menu.resolver.ts
index 23ba31b103..c4f2991fe2 100644
--- a/src/app/menu.resolver.ts
+++ b/src/app/menu.resolver.ts
@@ -679,6 +679,18 @@ export class MenuResolver implements Resolve {
icon: 'exclamation-circle',
index: 12
},
+ {
+ id: 'notify_dashboard',
+ active: false,
+ visible: authorized,
+ model: {
+ type: MenuItemType.LINK,
+ text: 'menu.section.notify-dasboard',
+ link: '/admin/notify-dasboard'
+ } as LinkMenuItemModel,
+ icon: 'gauge',
+ index: 13
+ },
];
menuList.forEach((menuSection) => this.menuService.addSection(MenuID.ADMIN, Object.assign(menuSection, {
diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5
index f7a9e2c072..d68229f19b 100644
--- a/src/assets/i18n/en.json5
+++ b/src/assets/i18n/en.json5
@@ -3075,6 +3075,8 @@
"menu.section.icon.export": "Export menu section",
+ "menu.section.notify-dasboard": "Notify Dashboard",
+
"menu.section.icon.find": "Find menu section",
"menu.section.icon.health": "Health check menu section",