Revision 53973
Added by Konstantina Galouni over 5 years ago
deposit.component.ts | ||
---|---|---|
9 | 9 |
import {PiwikService} from '../utils/piwik/piwik.service'; |
10 | 10 |
import { SEOService } from '../sharedComponents/SEO/SEO.service'; |
11 | 11 |
|
12 |
import {ZenodoInformationClass} from './utils/zenodoInformation.class'; |
|
12 | 13 |
|
13 | 14 |
@Component({ |
14 | 15 |
selector: 'deposit', |
... | ... | |
16 | 17 |
}) |
17 | 18 |
|
18 | 19 |
export class DepositComponent { |
20 |
@Input() zenodoInformation: ZenodoInformationClass; |
|
19 | 21 |
@Input() compatibility: string = ''; |
20 | 22 |
@Input() mapUrl: string = null; // optional in case i-frame is needed |
21 | 23 |
@Input() searchBySubjects: boolean = false; // optional: in case search by subjects is needed |
Also available in: Unified diff
1. Add proper message (for connect or explore portal) for Zenodo repository in all deposit pages at the right side of each page.
2. Library: deposit/utils/zenodoInformation.class.ts: create class to describe zenodo information (name, url, shareInZenodoUrl - only for connect portal).