import {Component, Input} from '@angular/core';
import {EnvProperties} from "../../utils/properties/env-properties";
@Component({
selector: 'showPublisher, [showPublisher]',
template: `
Published:
{{publishDate | date: 'dd MMM yyyy' : 'UTC'}}
Journal:
{{journal['journal']}}
,
volume
0">{{journal['volume'] | number}}
0)">{{journal['volume']}}
,
issue
0">{{journal['issue'] | number}}
0)">{{journal['issue']}}
,
{{(journal['start_page'] && journal['end_page']) ? 'pages' : 'page'}}
0">{{journal['start_page'] | number}}
0)">{{journal['start_page']}}
-
0">{{journal['end_page'] | number}}
0)">{{journal['end_page']}}
(
issn: {{journal['issn']}}
,
eissn: {{journal['eissn']}}
,
lissn: {{journal['lissn']}}
,
Copyright policy
)
Publisher: {{publisher}}
`
})
export class ShowPublisherComponent {
@Input() publishDate: Date;
@Input() publisher;
@Input() journal;
//@Input() sherpaUrl = 'http://www.sherpa.ac.uk/romeo/search.php?issn=';
//http://sherpa.ac.uk/romeo/issn/2304-6775
@Input() properties: EnvProperties;
constructor() {
}
ngOnInit() {
}
}