Revision 53975
Added by Konstantina Galouni over 5 years ago
modules/uoa-services-library/trunk/ng-openaire-library/src/app/utils/properties/env-properties.ts | ||
---|---|---|
139 | 139 |
|
140 | 140 |
widgetLink; |
141 | 141 |
claimsInformationLink; |
142 |
|
|
143 |
shareInZenodoPage; |
|
142 | 144 |
} |
modules/uoa-connect-portal/trunk/connect-production-properties.json | ||
---|---|---|
98 | 98 |
"showLastIndexInformationLink" : false, |
99 | 99 |
|
100 | 100 |
"widgetLink" : "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", |
101 |
"claimsInformationLink": "https://beta.openaire.eu/linking" |
|
101 |
"claimsInformationLink": "https://beta.openaire.eu/linking",
|
|
102 | 102 |
|
103 |
"shareInZenodoPage": "/participate/share-zenodo?communityId=" |
|
103 | 104 |
} |
modules/uoa-connect-portal/trunk/src/app/deposit/utils/fetchZenodoInformation.class.ts | ||
---|---|---|
29 | 29 |
var CommunityIds = result; |
30 | 30 |
var totalResults = CommunityIds.length; |
31 | 31 |
if(totalResults > 0) { |
32 |
zenodoInformation.shareInZenodoUrl = "http://duffy.di.uoa.gr:4200/participate/share-zenodo?communityId="+communityId; |
|
32 |
console.info(properties); |
|
33 |
console.info("shareInZenodoPage: "+properties.shareInZenodoPage); |
|
34 |
zenodoInformation.shareInZenodoUrl = properties.shareInZenodoPage+communityId; |
|
33 | 35 |
} |
34 | 36 |
}, |
35 | 37 |
error => { |
modules/uoa-connect-portal/trunk/src/assets/env-properties.json | ||
---|---|---|
111 | 111 |
"showLastIndexInformationLink" : true, |
112 | 112 |
|
113 | 113 |
"widgetLink" : "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", |
114 |
"claimsInformationLink": "https://beta.openaire.eu/linking" |
|
114 |
"claimsInformationLink": "https://beta.openaire.eu/linking", |
|
115 |
|
|
116 |
"shareInZenodoPage": "/participate/share-zenodo?communityId=" |
|
115 | 117 |
} |
Also available in: Unified diff
Add in env-properties (used only in connect portal) 'shareInZenodoPage' property.