[Aggregator | new-theme]: [NEW] Added service entity in Menu, properties and added landing and search pages.
1. aggregators.ts: Added in PortalAggregators.disabled object, service entity & route.
2. app.component.ts: Added in menuItems "Serive" and use for menuItems entity names from OpenaireEntities.
3. app-routing.module.ts: Added routes for service landing, search and advanced search pages.
4. environments/: Added values for properties searchLinkToService, searchLinkToServices, searchLinkToAdvancedServices, errorLink
5. [NEW] Files added for services landing, search and advanced search pages: landingPages/service/, advancedSearchServices.component.ts, advancedSearchServices.module.ts, advancedSearchServices-routing.module.ts, searchServices.component.ts, searchServices.module.ts, searchServices-routing.module.ts
2022-05-13 15:07:09 +02:00
|
|
|
import {Component} from '@angular/core';
|
|
|
|
import {properties} from "../../../environments/environment";
|
|
|
|
import {EnvProperties} from "../../openaireLibrary/utils/properties/env-properties";
|
|
|
|
import {OpenaireEntities} from "../../openaireLibrary/utils/properties/searchFields";
|
|
|
|
import {SearchForm} from "../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'openaire-search-services',
|
|
|
|
template: `
|
2023-07-13 13:21:15 +02:00
|
|
|
<search-dataproviders [hasPrefix]="false"
|
[Aggregator | new-theme]: [NEW] Added service entity in Menu, properties and added landing and search pages.
1. aggregators.ts: Added in PortalAggregators.disabled object, service entity & route.
2. app.component.ts: Added in menuItems "Serive" and use for menuItems entity names from OpenaireEntities.
3. app-routing.module.ts: Added routes for service landing, search and advanced search pages.
4. environments/: Added values for properties searchLinkToService, searchLinkToServices, searchLinkToAdvancedServices, errorLink
5. [NEW] Files added for services landing, search and advanced search pages: landingPages/service/, advancedSearchServices.component.ts, advancedSearchServices.module.ts, advancedSearchServices-routing.module.ts, searchServices.component.ts, searchServices.module.ts, searchServices-routing.module.ts
2022-05-13 15:07:09 +02:00
|
|
|
type="services" entityType="service" [typeName]="openaireEntities.SERVICES"
|
|
|
|
[searchForm]="searchForm">
|
|
|
|
</search-dataproviders>
|
|
|
|
`
|
|
|
|
})
|
|
|
|
export class OpenaireSearchServicesComponent {
|
|
|
|
properties: EnvProperties;
|
|
|
|
public openaireEntities = OpenaireEntities;
|
2022-11-28 13:37:37 +01:00
|
|
|
public searchForm: SearchForm = {class: 'search-form', dark: true};
|
[Aggregator | new-theme]: [NEW] Added service entity in Menu, properties and added landing and search pages.
1. aggregators.ts: Added in PortalAggregators.disabled object, service entity & route.
2. app.component.ts: Added in menuItems "Serive" and use for menuItems entity names from OpenaireEntities.
3. app-routing.module.ts: Added routes for service landing, search and advanced search pages.
4. environments/: Added values for properties searchLinkToService, searchLinkToServices, searchLinkToAdvancedServices, errorLink
5. [NEW] Files added for services landing, search and advanced search pages: landingPages/service/, advancedSearchServices.component.ts, advancedSearchServices.module.ts, advancedSearchServices-routing.module.ts, searchServices.component.ts, searchServices.module.ts, searchServices-routing.module.ts
2022-05-13 15:07:09 +02:00
|
|
|
constructor ( ) {}
|
|
|
|
ngOnInit() {
|
|
|
|
this.properties = properties;
|
|
|
|
}
|
|
|
|
}
|