Included user-menu component in custom theme.

This commit is contained in:
Eike Martin Löhden
2023-07-10 15:54:09 +02:00
committed by Tim Donohue
parent a4aecce865
commit 2ec90b8273
4 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { Component } from '@angular/core';
import { UserMenuComponent as BaseComponent } from '../../../../../../app/shared/auth-nav-menu/user-menu/user-menu.component';
/**
* Component representing the {@link UserMenuComponent} of a page
*/
@Component({
selector: 'ds-user-menu',
// templateUrl: 'user-menu.component.html',
templateUrl: '../../../../../../app/shared/auth-nav-menu/user-menu/user-menu.component.html',
// styleUrls: ['user-menu.component.scss'],
styleUrls: ['../../../../../../app/shared/auth-nav-menu/user-menu/user-menu.component.scss'],
})
export class UserMenuComponent extends BaseComponent {
}

View File

@@ -156,6 +156,7 @@ import { ItemStatusComponent } from './app/item-page/edit-item-page/item-status/
import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component'; import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component';
import { FormModule } from '../../app/shared/form/form.module'; import { FormModule } from '../../app/shared/form/form.module';
import { RequestCopyModule } from 'src/app/request-copy/request-copy.module'; import { RequestCopyModule } from 'src/app/request-copy/request-copy.module';
import {UserMenuComponent} from './app/shared/auth-nav-menu/user-menu/user-menu.component';
const DECLARATIONS = [ const DECLARATIONS = [
FileSectionComponent, FileSectionComponent,
@@ -239,6 +240,7 @@ const DECLARATIONS = [
SubmissionSectionUploadFileComponent, SubmissionSectionUploadFileComponent,
ItemStatusComponent, ItemStatusComponent,
EditBitstreamPageComponent, EditBitstreamPageComponent,
UserMenuComponent,
]; ];
@NgModule({ @NgModule({