import {Component, Input} from '@angular/core'; import {EnvProperties} from "../../utils/properties/env-properties"; @Component({ selector: 'showPublisher', template: `
  • Published: {{publishDate | date: 'dd MMM yyyy' : 'UTC'}} 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']}}(kostis) , 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() { } }