[Connect|Trunk]
- use route instead of url for the community header - update beta properties git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60000 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
9d68ae13c8
commit
0ba78c0c11
|
@ -27,7 +27,7 @@ import {CommunityService} from "./openaireLibrary/connect/community/community.se
|
||||||
<navbar *ngIf="properties && showMenu && !community && header" [portal]="properties.dashboard" [onlyTop]=false
|
<navbar *ngIf="properties && showMenu && !community && header" [portal]="properties.dashboard" [onlyTop]=false
|
||||||
[userMenuItems]=userMenuItems [menuItems]=menuItems [user]="user" [header]="header"
|
[userMenuItems]=userMenuItems [menuItems]=menuItems [user]="user" [header]="header"
|
||||||
[showMenu]=showMenu [properties]="properties" [showHomeMenuItem]="false" communityId="connect"></navbar>
|
[showMenu]=showMenu [properties]="properties" [showHomeMenuItem]="false" communityId="connect"></navbar>
|
||||||
<navbar *ngIf="properties && showMenu && community && header" [portal]="properties.dashboard" [onlyTop]=false
|
<navbar *ngIf="properties && showMenu && community && header" [portal]="community.id" [onlyTop]=false
|
||||||
[communityId]="community.id" [header]="header"
|
[communityId]="community.id" [header]="header"
|
||||||
[userMenuItems]=userMenuItems [menuItems]=menuItems [user]="user"
|
[userMenuItems]=userMenuItems [menuItems]=menuItems [user]="user"
|
||||||
[showMenu]=showMenu [properties]="properties" [enableSearch]="false"
|
[showMenu]=showMenu [properties]="properties" [enableSearch]="false"
|
||||||
|
@ -198,7 +198,8 @@ export class AppComponent {
|
||||||
description:community.description
|
description:community.description
|
||||||
};
|
};
|
||||||
this.header = {
|
this.header = {
|
||||||
url: 'https://' + (this.properties.environment == 'beta' ? 'beta.' : '') + this.community.id + '.openaire.eu',
|
// url: 'https://' + (this.properties.environment == 'beta' ? 'beta.' : '') + this.community.id + '.openaire.eu',
|
||||||
|
route: "/",
|
||||||
title: this.community.name,
|
title: this.community.name,
|
||||||
logoUrl: this.community.logoUrl,
|
logoUrl: this.community.logoUrl,
|
||||||
logoSmallUrl: this.community.logoUrl,
|
logoSmallUrl: this.community.logoUrl,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
|
||||||
import {HelperService} from "../openaireLibrary/utils/helper/helper.service";
|
import {HelperService} from "../openaireLibrary/utils/helper/helper.service";
|
||||||
import {ConnectHelper} from "../openaireLibrary/connect/connectHelper";
|
import {ConnectHelper} from "../openaireLibrary/connect/connectHelper";
|
||||||
import {Subscriber} from "rxjs";
|
import {Subscriber} from "rxjs";
|
||||||
import {properties} from 'environments/environment';
|
import {properties} from "../../environments/environment";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'html-page',
|
selector: 'html-page',
|
||||||
|
|
|
@ -2,6 +2,7 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
|
||||||
|
|
||||||
export let properties: EnvProperties = {
|
export let properties: EnvProperties = {
|
||||||
environment: "beta",
|
environment: "beta",
|
||||||
|
adminToolsPortalType: "connect",
|
||||||
dashboard: "connect",
|
dashboard: "connect",
|
||||||
enablePiwikTrack: true,
|
enablePiwikTrack: true,
|
||||||
useCache: false,
|
useCache: false,
|
||||||
|
@ -12,7 +13,7 @@ export let properties: EnvProperties = {
|
||||||
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
||||||
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
||||||
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
||||||
statisticsFrameNewAPIURL: "https://stats.madgik.di.uoa.gr/stats-api/",
|
statisticsFrameNewAPIURL: "https://beta.services.openaire.eu/stats-tool/",
|
||||||
useNewStatistisTool: true,
|
useNewStatistisTool: true,
|
||||||
impactFactorsAPIURL: "https://bip-api.imsi.athenarc.gr/paper/scores/batch/",
|
impactFactorsAPIURL: "https://bip-api.imsi.athenarc.gr/paper/scores/batch/",
|
||||||
claimsAPIURL: "https://beta.services.openaire.eu/claims/rest/claimsService/",
|
claimsAPIURL: "https://beta.services.openaire.eu/claims/rest/claimsService/",
|
||||||
|
|
Loading…
Reference in New Issue