Subjects: add subjects section in home page. add 50 in the link to the search results
update login properties beta/test Landing allow index off newly added records - zenodo
This commit is contained in:
commit
45164dea05
|
@ -115,7 +115,7 @@
|
||||||
<span *ngIf="type=='persistent'">
|
<span *ngIf="type=='persistent'">
|
||||||
<span>Persistent identifiers and registries</span>
|
<span>Persistent identifiers and registries</span>
|
||||||
</span>
|
</span>
|
||||||
<span *ngIf="type=='funder' && showProjects && numbers?.fundersSize">
|
<span *ngIf="type=='funder' && showProjects && numbers?.fundersSize && numbers?.projectsSize">
|
||||||
<span
|
<span
|
||||||
class="uk-text-bold">{{numbers.fundersSize.number|number}}{{numbers.fundersSize.size}}
|
class="uk-text-bold">{{numbers.fundersSize.number|number}}{{numbers.fundersSize.size}}
|
||||||
funders</span><span> and</span>
|
funders</span><span> and</span>
|
||||||
|
@ -168,9 +168,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--<schema2jsonld [URL]="properties.baseLink"-->
|
|
||||||
<!-- [logoURL]="properties.baseLink+'/assets/common-assets/logo-small-explore.png'" type="home"-->
|
|
||||||
<!-- name="OpenAIRE Explore"></schema2jsonld>-->
|
|
||||||
<div *ngIf="pageContents && pageContents['right'] && pageContents['right'].length > 0"
|
<div *ngIf="pageContents && pageContents['right'] && pageContents['right'].length > 0"
|
||||||
class="uk-section graph-background">
|
class="uk-section graph-background">
|
||||||
<div class="uk-container">
|
<div class="uk-container">
|
||||||
|
@ -218,98 +215,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="uk-section uk-padding-remove-bottom">
|
|
||||||
<div class="uk-container uk-text-center uk-margin-medium-bottom">
|
|
||||||
<div class="uk-margin-medium uk-flex-center">
|
|
||||||
<div class="uk-first-column">
|
|
||||||
<div class="uk-panel">
|
|
||||||
<h3 class="uk-margin uk-text-center">
|
|
||||||
Our growing <span class="uk-text-bold">Community</span>
|
|
||||||
</h3>
|
|
||||||
<div class="uk-margin-large-top uk-container uk-margin-bottom uk-text-center">
|
|
||||||
<div class="uk-grid uk-flex uk-flex-center">
|
|
||||||
<div *ngIf="fundersSize" class="uk-width-1-3@m">
|
|
||||||
<h3>
|
|
||||||
<a [routerLink]="properties.searchLinkToProjects" class="uk-text-bold number">
|
|
||||||
{{fundersSize.number|number}}<span class="number-size">{{fundersSize.size}}</span>
|
|
||||||
</a>
|
|
||||||
</h3>
|
|
||||||
<div class="uk-text-uppercase uk-text-large">Funders</div>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="datasourcesSize" class="uk-width-1-3@m">
|
|
||||||
<h3>
|
|
||||||
<a [routerLink]="properties.searchLinkToDataProviders" class="uk-text-bold number">
|
|
||||||
{{datasourcesSize.number|number}}<span class="number-size">{{datasourcesSize.size}}</span>
|
|
||||||
</a>
|
|
||||||
</h3>
|
|
||||||
<div class="uk-text-uppercase uk-text-large">Content providers</div>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="projectsSize" class="uk-width-1-3@m">
|
|
||||||
<h3>
|
|
||||||
<a [routerLink]="properties.searchLinkToProjects" class="uk-text-bold number">
|
|
||||||
{{projectsSize.number|number}}<span class="number-size">{{projectsSize.size}}</span>
|
|
||||||
</a>
|
|
||||||
</h3>
|
|
||||||
<div class="uk-text-uppercase uk-text-large">Projects</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="numbers-background uk-section">
|
|
||||||
<div class="uk-container">
|
|
||||||
<div class="uk-grid uk-margin-auto-left uk-margin-auto-right uk-grid-large" uk-grid>
|
|
||||||
<div *ngIf="publicationsSize" class="uk-width-1-2@m uk-flex uk-flex-center">
|
|
||||||
<div class="number-width">
|
|
||||||
<a class="number uk-text-bold uk-margin-bottom" [routerLink]="properties.searchLinkToResults"
|
|
||||||
[queryParams]="{type: 'publications', qf: false}">
|
|
||||||
{{publicationsSize.count|number}} </a>
|
|
||||||
<div class="uk-text-uppercase uk-flex uk-flex-middle">
|
|
||||||
<icon name="book" ratio="1.5" [flex]="true" class="uk-margin-right" customClass="portal-color"></icon>
|
|
||||||
<span>publications</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="datasetsSize" class="uk-width-1-2@m uk-flex uk-flex-center">
|
|
||||||
<div class="number-width">
|
|
||||||
<a class="number uk-text-bold uk-margin-bottom"
|
|
||||||
[routerLink]="properties.searchLinkToResults"
|
|
||||||
[queryParams]="{type: 'datasets', qf: false}">{{datasetsSize.count|number}} </a>
|
|
||||||
|
|
||||||
<div class="uk-text-uppercase uk-flex uk-flex-middle">
|
|
||||||
<icon name="database" ratio="1.5" [flex]="true" class="uk-margin-right"
|
|
||||||
customClass="portal-color"></icon>
|
|
||||||
<span>research data</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="softwareSize" class="uk-width-1-2@m uk-flex uk-flex-center">
|
|
||||||
<div class="number-width">
|
|
||||||
<a class="number uk-text-bold uk-margin-bottom" [routerLink]="properties.searchLinkToResults"
|
|
||||||
[queryParams]="{type: 'software', qf: false}">
|
|
||||||
{{softwareSize.count|number}} </a>
|
|
||||||
<div class="uk-text-uppercase uk-flex uk-flex-middle">
|
|
||||||
<icon name="cog" ratio="1.5" [flex]="true" class="uk-margin-right" customClass="portal-color"></icon>
|
|
||||||
<span>software</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="otherSize" class="uk-width-1-2@m uk-flex uk-flex-center">
|
|
||||||
<div class="number-width">
|
|
||||||
<a class="number uk-text-bold uk-margin-bottom" [routerLink]="properties.searchLinkToResults"
|
|
||||||
[queryParams]="{type: 'other', qf: false}">{{otherSize.count|number}} </a>
|
|
||||||
<div class="uk-text-uppercase uk-flex uk-flex-middle">
|
|
||||||
<icon name="earth" ratio="1.5" [flex]="true" class="uk-margin-right" customClass="portal-color"></icon>
|
|
||||||
<span>other research products</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>-->
|
|
||||||
<helper *ngIf="pageContents && pageContents['left'] && pageContents['left'].length > 0"
|
<helper *ngIf="pageContents && pageContents['left'] && pageContents['left'].length > 0"
|
||||||
[texts]="pageContents['left']"></helper>
|
[texts]="pageContents['left']"></helper>
|
||||||
<div class="uk-section-muted"
|
<div class="uk-section-muted"
|
||||||
|
|
|
@ -304,6 +304,6 @@ export class HomeComponent {
|
||||||
this._router.navigate([url], {queryParams: this.routerHelper.createQueryParams(parameterNames, parameterValues)});
|
this._router.navigate([url], {queryParams: this.routerHelper.createQueryParams(parameterNames, parameterValues)});
|
||||||
}
|
}
|
||||||
getSubjectParameter(param){
|
getSubjectParameter(param){
|
||||||
return {'f0':'resultsubject','fv0':'"' +(param)+'"'};
|
return {'f0':'resultsubject','fv0':'"' +(param)+'"', size:50};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,11 +49,11 @@ export let properties: EnvProperties = {
|
||||||
|
|
||||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||||
piwikSiteId: "109",
|
piwikSiteId: "109",
|
||||||
loginUrl: " https://services.openaire.eu/explore-login/openid_connect_login",
|
loginUrl: " https://services.openaire.eu/login-service/openid_connect_login",
|
||||||
|
|
||||||
userInfoUrl: " https://services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
|
userInfoUrl: " https://services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
|
||||||
|
|
||||||
logoutUrl: "https://services.openaire.eu/explore-login/openid_logout",
|
logoutUrl: "https://services.openaire.eu/login-service/openid_logout",
|
||||||
|
|
||||||
cookieDomain: ".openaire.eu",
|
cookieDomain: ".openaire.eu",
|
||||||
|
|
||||||
|
|
|
@ -49,11 +49,11 @@ export let properties: EnvProperties = {
|
||||||
|
|
||||||
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=",
|
||||||
piwikSiteId: "109",
|
piwikSiteId: "109",
|
||||||
loginUrl: "https://services.openaire.eu/uoa-user-management/openid_connect_login",
|
loginUrl: "https://services.openaire.eu/login-service/openid_connect_login",
|
||||||
|
|
||||||
userInfoUrl: " https://services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
|
userInfoUrl: " https://services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=",
|
||||||
|
|
||||||
logoutUrl: "https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=",
|
logoutUrl: "https://services.openaire.eu/login-service/openid_logout",
|
||||||
|
|
||||||
cookieDomain: ".openaire.eu",
|
cookieDomain: ".openaire.eu",
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
|
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
|
||||||
|
|
||||||
export let properties: EnvProperties = {
|
export let properties: EnvProperties = {
|
||||||
environment: "development",
|
environment: "production",
|
||||||
adminToolsPortalType: "explore",
|
adminToolsPortalType: "explore",
|
||||||
dashboard: "explore",
|
dashboard: "explore",
|
||||||
enablePiwikTrack: false,
|
enablePiwikTrack: false,
|
||||||
|
|
Loading…
Reference in New Issue