diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 31220c3..6054e8d 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -13,6 +13,11 @@ const routes: Routes = [ loadChildren: './monitor/monitor.module#MonitorModule', resolve: {envSpecific: EnvironmentSpecificResolver} }, + { + path: 'search/find/funders', + loadChildren: './funders/searchFunders.module#SearchFundersModule', + resolve: {envSpecific: EnvironmentSpecificResolver} + }, {path: 'about', redirectTo: 'about/learn-how', pathMatch: 'full'}, { path: 'about/learn-how', diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 3c645ae..d9e742d 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -140,60 +140,7 @@ export class AppComponent { } - if (communityId && communityId != "" && com.communityId == communityId) { - community = com; - let isCommunityManager: boolean = false; - if (Session.isCommunityCurator(this.user) || Session.isPortalAdministrator(this.user)) { - isCommunityManager = true; - } else if (this.user && com.managers.indexOf(this.user.email) != -1) { - isCommunityManager = true; - } - this.community = { - id: community.communityId, - name: (community.shortTitle) ? community.shortTitle : community.title, - logoUrl: community.logoUrl - }; - this.menuItems = []; - this.menuItems.push( - { - rootItem: new MenuItem("search", "Search", "", "/search/find", false, [], ["/search/find", "/search/find/publications", "/search/find/datasets", "/search/find/software", "/search/find/other", "/search/find/projects", "/search/find/dataproviders"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - items: [new MenuItem("", "Publications", "", "/search/find/publications", false, ["publication"], ["/search/find/publications"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - new MenuItem("", "Research Data", "", "/search/find/datasets", false, ["dataset"], ["/search/find/datasets"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - new MenuItem("", "Software", "", "/search/find/software", false, ["software"], ["/search/find/software"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - new MenuItem("", "Other Research Products", "", "/search/find/other", false, ["orp"], ["/search/find/other"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - new MenuItem("", "Projects", "", "/search/find/projects/", false, ["project"], ["/search/find/projects"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - new MenuItem("", "Content Providers", "", "/search/find/dataproviders", false, ["datasource"], ["/search/find/dataproviders"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - ] - }); - - this.menuItems.push({ - rootItem: new MenuItem("deposit", "Deposit", "", "/participate/deposit/learn-how", false, [], ["/participate/deposit/learn-how"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - items: [ - /* - new MenuItem("","Zenodo Communities","","/participate/share-zenodo",false,[],["/participate/share-zenodo"],this.properties.environment!="development"?{}:{communityId:community.communityId}), - new MenuItem("","Publications","","/participate/deposit-publications",false,["publication"],["/participate/deposit-publications"],this.properties.environment!="development"?{}:{communityId:community.communityId}), - new MenuItem("","Research Data","","/participate/deposit-datasets",false,["dataset"],["/participate/deposit-datasets"],this.properties.environment!="development"?{}:{communityId:community.communityId}) - */ - ] - }); - this.menuItems.push( - { - rootItem: new MenuItem("link", "Link", "", "/participate/claim", false, [], ["/participate/claim"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - items: [ - new MenuItem("", "Start linking", "", "/participate/claim", false, [], ["/participate/claim"], this.properties.environment != "development" ? {} : {communityId: community.communityId}), - new MenuItem("", "Learn more", this.properties.claimsInformationLink, "", false, [], [], {}) - ] - }); - if (isCommunityManager) { - this.menuItems.push( - { - rootItem: new MenuItem("manage", "Manage", 'https://beta.admin.connect.openaire.eu/dashboard?communityId=' + community.communityId, "", false, [], [], {}), - items: [] - }); - } - - } } if (community == null) { @@ -218,7 +165,7 @@ export class AppComponent { }); }*/ this.menuItems.push({ - rootItem: new MenuItem("communities", "Communities", "", "/search/find/communities", false, [], null, {}), + rootItem: new MenuItem("funders", "Funders", "", "/search/find/funders", false, [], null, {}), items: [] }); this.menuItems.push({ diff --git a/src/app/contact/contact.component.html b/src/app/contact/contact.component.html index 674f478..d84995b 100644 --- a/src/app/contact/contact.component.html +++ b/src/app/contact/contact.component.html @@ -1,17 +1,20 @@ - - + +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit
-