import {Component, Input} from '@angular/core'; import {EnvProperties} from "../../utils/properties/env-properties"; @Component({ selector: 'showPublisher, [showPublisher]', template: ` Publisher: {{publisher}} 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 ) ` }) export class ShowPublisherComponent { @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() { } }