mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
34 lines
726 B
TypeScript
34 lines
726 B
TypeScript
import {
|
|
DatePipe,
|
|
NgIf,
|
|
} from '@angular/common';
|
|
import {
|
|
Component,
|
|
Input,
|
|
} from '@angular/core';
|
|
import { TranslateModule } from '@ngx-translate/core';
|
|
|
|
import { Metadata } from '../../../../core/submission/models/sherpa-policies-details.model';
|
|
|
|
/**
|
|
* This component represents a section that contains the metadata information.
|
|
*/
|
|
@Component({
|
|
selector: 'ds-metadata-information',
|
|
templateUrl: './metadata-information.component.html',
|
|
styleUrls: ['./metadata-information.component.scss'],
|
|
imports: [
|
|
NgIf,
|
|
TranslateModule,
|
|
DatePipe,
|
|
],
|
|
standalone: true,
|
|
})
|
|
export class MetadataInformationComponent {
|
|
/**
|
|
* Metadata to show information from
|
|
*/
|
|
@Input() metadata: Metadata;
|
|
|
|
}
|