Skip to content

Commit

Permalink
Merge remote-tracking branch 'alex/added-themeable-person-component_c…
Browse files Browse the repository at this point in the history
…ontribute-7.4' into atmire-contributions-august_contribute-7.6

# Conflicts:
#	src/themes/custom/eager-theme.module.ts
  • Loading branch information
alexandrevryghem committed Aug 16, 2023
2 parents 1a17664 + 479ec16 commit 76f6eb3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Component } from '@angular/core';
import { ViewMode } from '../../../../../../../app/core/shared/view-mode.model';
import {
listableObjectComponent
} from '../../../../../../../app/shared/object-collection/shared/listable-object/listable-object.decorator';
import {
PersonComponent as BaseComponent
} from '../../../../../../../app/entity-groups/research-entities/item-pages/person/person.component';
import { Context } from '../../../../../../../app/core/shared/context.model';

@listableObjectComponent('Person', ViewMode.StandalonePage, Context.Any, 'custom')
@Component({
selector: 'ds-person',
// styleUrls: ['./person.component.scss'],
styleUrls: ['../../../../../../../app/entity-groups/research-entities/item-pages/person/person.component.scss'],
// templateUrl: './person.component.html',
templateUrl: '../../../../../../../app/entity-groups/research-entities/item-pages/person/person.component.html',
})
export class PersonComponent extends BaseComponent {
}
2 changes: 2 additions & 0 deletions src/themes/custom/eager-theme.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import {
import { TopLevelCommunityListComponent } from './app/home-page/top-level-community-list/top-level-community-list.component';
import { LogInComponent } from './app/shared/log-in/log-in.component';
import { BrowseEntryListElementComponent } from './app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component';
import { PersonComponent } from './app/entity-groups/research-entities/item-pages/person/person.component';


/**
Expand All @@ -66,6 +67,7 @@ const ENTRY_COMPONENTS = [
JournalComponent,
JournalIssueComponent,
JournalVolumeComponent,
PersonComponent,
PublicationComponent,
UntypedItemComponent,
CommunityListElementComponent,
Expand Down

0 comments on commit 76f6eb3

Please sign in to comment.