diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 8e06f1b..9f01a3f 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -443,11 +443,14 @@ export class AppComponent implements OnInit, OnDestroy { this.bottomMenuItems.push(new MenuItem("", "Sources and methodology", "", "/content", false, [], [], {})); } if (this.user) { - this.userMenuItems = [ /*new MenuItem("","My profile","","",false,[],[],{}),*/ - new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [], {}), + this.userMenuItems = [ new MenuItem("", "My links", "", "/myclaims", false, [], ["/myclaims"], {}), new MenuItem("", "Invite users", "", "/invite", false, [], [], {}), ]; + if(properties.environment != 'beta'){ + this.userMenuItems = [new MenuItem("", "My ORCID links", "", "/my-orcid-links", false, [], [], {})] + .concat(this.userMenuItems) + } if (this.isManager) { this.userMenuItems.push(new MenuItem("", "Support", "https://tools.openaire.eu/group/openaire_rcd", "", false, [], [], {})) } diff --git a/src/app/claims/myClaims/myClaims.component.ts b/src/app/claims/myClaims/myClaims.component.ts index 79c1d80..f00c3a1 100644 --- a/src/app/claims/myClaims/myClaims.component.ts +++ b/src/app/claims/myClaims/myClaims.component.ts @@ -8,13 +8,12 @@ import {properties} from "../../../environments/environment"; @Component({ selector: 'openaire-my-claims', template: ` - + ` }) export class OpenaireMyClaimsComponent { claimsInfoURL:string; - userInfoURL: string; communityId:string; sub; @@ -27,8 +26,7 @@ import {properties} from "../../../environments/environment"; } public ngOnInit() { - this.claimsInfoURL = properties.claimsInformationLink; - this.userInfoURL = properties.userInfoUrl; + this.claimsInfoURL = properties.claimsInformationLink; this.sub = this.route.queryParams.subscribe( communityId => { this.communityId = ConnectHelper.getCommunityFromDomain(properties.domain); diff --git a/src/app/community/community.component.html b/src/app/community/community.component.html index 46f3a18..109a9bd 100644 --- a/src/app/community/community.component.html +++ b/src/app/community/community.component.html @@ -181,7 +181,7 @@ [onChangeNavigate]="false">
-
+
diff --git a/src/app/community/community.component.ts b/src/app/community/community.component.ts index e692324..a4cc69c 100644 --- a/src/app/community/community.component.ts +++ b/src/app/community/community.component.ts @@ -478,7 +478,7 @@ export class CommunityComponent { } createParams(param) { - return StringUtils.quote(StringUtils.URIEncode(param)); + return StringUtils.URIEncode(param); } private setActiveTab(entityType: string) { diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index e63d61b..e306720 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit e63d61b4693843c30ed41440e90bd3b6b6865806 +Subproject commit e30672043b03c607fb6c6c1c490d4fa34a772d3d diff --git a/src/app/searchPages/communities/searchCommunities.component.ts b/src/app/searchPages/communities/searchCommunities.component.ts index 125f76e..447eacf 100644 --- a/src/app/searchPages/communities/searchCommunities.component.ts +++ b/src/app/searchPages/communities/searchCommunities.component.ts @@ -97,7 +97,7 @@ export class SearchCommunitiesComponent { this.searchPage.refineFields = this.refineFields; this.searchLink = this.properties.searchLinkToCommunities; this.selectedFields = []; - this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, this.refineFields, [], this.fieldIdsMap, null, params, "community", null); + this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, this.refineFields, [],[], this.fieldIdsMap, null, params, "community", null); let queryParams = params; if (typeof document !== 'undefined') { diff --git a/src/app/searchPages/simple/searchDataproviders.component.ts b/src/app/searchPages/simple/searchDataproviders.component.ts index 7f49746..135a201 100644 --- a/src/app/searchPages/simple/searchDataproviders.component.ts +++ b/src/app/searchPages/simple/searchDataproviders.component.ts @@ -94,7 +94,7 @@ export class OpenaireSearchDataprovidersComponent { this.searchUtils.validateSize(params['size']); this.keyword = decodeURIComponent(params['fv0']?params['fv0']:(params['keyword']?params['keyword']:'')); this.selectedFields = []; - this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, [], [], this.fieldIdsMap, this.customFilter, params, "dataprovider"); + this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, [], [], [], this.fieldIdsMap, this.customFilter, params, "dataprovider"); if (this.initialLoad) { this.initialLoad = false; this._getResults(); @@ -163,7 +163,7 @@ export class OpenaireSearchDataprovidersComponent { this.searchUtils.totalResults = results.length; this.results = results.slice((this.searchUtils.page - 1) * this.searchUtils.size, this.searchUtils.page *this.searchUtils.size ); this.searchUtils.status = this.results.length == 0 ? this.errorCodes.NONE: this.errorCodes.DONE; - this.searchPage.buildPageURLParameters(this.filters, [], false); + this.searchPage.buildPageURLParameters(this.filters, [], [], false); this.disableForms = false; this.enableSearchView = true; } diff --git a/src/app/searchPages/simple/searchProjects.component.ts b/src/app/searchPages/simple/searchProjects.component.ts index 483ab32..c8cde79 100644 --- a/src/app/searchPages/simple/searchProjects.component.ts +++ b/src/app/searchPages/simple/searchProjects.component.ts @@ -96,7 +96,7 @@ export class OpenaireSearchProjectsComponent { this.searchUtils.validateSize(params['size']); this.keyword = decodeURIComponent(params['fv0']?params['fv0']:(params['keyword']?params['keyword']:'')); this.selectedFields = []; - this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, this.refineFields, [], this.fieldIdsMap, this.customFilter, params, "project"); + this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, this.refineFields, [], [], this.fieldIdsMap, this.customFilter, params, "project"); if(this.initialLoad) { this.initialLoad = false; this._getCommunityFunders(); diff --git a/src/app/subjects/subjects.component.ts b/src/app/subjects/subjects.component.ts index 558dc63..27f4615 100644 --- a/src/app/subjects/subjects.component.ts +++ b/src/app/subjects/subjects.component.ts @@ -382,7 +382,7 @@ export class SubjectsComponent { } createParams(param) { - return StringUtils.quote(StringUtils.URIEncode(param)); + return StringUtils.URIEncode(param); } ngOnDestroy() { diff --git a/src/assets/common-assets b/src/assets/common-assets index e82544c..3b437aa 160000 --- a/src/assets/common-assets +++ b/src/assets/common-assets @@ -1 +1 @@ -Subproject commit e82544c43fa55393581d5278a8b0540d64bf30f0 +Subproject commit 3b437aafda7a716a0a89785a106456cbe520dce3 diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index 9218026..99ab54c 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit 921802642010c1057b79de55f93361f0b25a7b3d +Subproject commit 99ab54cdd7b973a2ba047f0a6b37667270b58439