Add in env-properties (used only in connect portal) 'shareInZenodoPage' property.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53975 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2018-11-26 15:58:13 +00:00
parent eac05f14eb
commit 877232e888
3 changed files with 8 additions and 3 deletions

View File

@ -98,6 +98,7 @@
"showLastIndexInformationLink" : false,
"widgetLink" : "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=",
"claimsInformationLink": "https://beta.openaire.eu/linking"
"claimsInformationLink": "https://beta.openaire.eu/linking",
"shareInZenodoPage": "/participate/share-zenodo?communityId="
}

View File

@ -29,7 +29,9 @@ export class FetchZenodoInformation {
var CommunityIds = result;
var totalResults = CommunityIds.length;
if(totalResults > 0) {
zenodoInformation.shareInZenodoUrl = "http://duffy.di.uoa.gr:4200/participate/share-zenodo?communityId="+communityId;
console.info(properties);
console.info("shareInZenodoPage: "+properties.shareInZenodoPage);
zenodoInformation.shareInZenodoUrl = properties.shareInZenodoPage+communityId;
}
},
error => {

View File

@ -111,5 +111,7 @@
"showLastIndexInformationLink" : true,
"widgetLink" : "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=",
"claimsInformationLink": "https://beta.openaire.eu/linking"
"claimsInformationLink": "https://beta.openaire.eu/linking",
"shareInZenodoPage": "/participate/share-zenodo?communityId="
}