mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Included user-menu component in custom theme.
This commit is contained in:

committed by
Tim Donohue

parent
a4aecce865
commit
2ec90b8273
@@ -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 {
|
||||||
|
}
|
@@ -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({
|
||||||
|
Reference in New Issue
Block a user