import {Component, Input} from '@angular/core'; import {EnvProperties} from "../../utils/properties/env-properties"; @Component({ selector: 'showPublisher', template: `
  • Published: {{publishDate | date: 'dd MMM yyyy'}} Journal: {{journal['journal']}} , volume {{journal['volume'] | number}} {{journal['volume']}} , issue {{journal['issue'] | number}} {{journal['issue']}} , {{(journal['start_page'] && journal['end_page']) ? 'pages' : 'page'}} {{journal['start_page'] | number}} {{journal['start_page']}} - {{journal['end_page'] | number}} {{journal['end_page']}} ( issn: {{journal['issn']}} , eissn: {{journal['eissn']}} , lissn: {{journal['lissn']}} , Copyright policy )
  • Publisher: {{publisher}} ( Copyright policy )
  • ` }) 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() { } }