mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
22 lines
609 B
TypeScript
22 lines
609 B
TypeScript
import { Component, OnInit, Input } from '@angular/core';
|
|
import { Item } from "../../../core/shared/item.model";
|
|
import { ItemPageSpecificFieldComponent } from "../item-page-specific-field.component";
|
|
|
|
@Component({
|
|
selector: 'ds-item-page-author-field',
|
|
templateUrl: './../item-page-specific-field.component.html'
|
|
})
|
|
export class ItemPageAuthorFieldComponent extends ItemPageSpecificFieldComponent implements OnInit {
|
|
|
|
@Input() item: Item;
|
|
separator : string;
|
|
|
|
fields : string[] = [
|
|
"dc.contributor.author",
|
|
"dc.creator",
|
|
"dc.contributor"
|
|
];
|
|
label : string = "item.page.author";
|
|
|
|
}
|