[Explore|Trunk]

Properties: add property "dashboard"
use it in navbar



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@57386 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-10-16 10:41:20 +00:00
parent 79e19314f1
commit f2f1c89470
5 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
"environment" : "beta",
"dashboard" : "explore",
"enablePiwikTrack" : true,
"useCache" : true,
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",

View File

@ -1,5 +1,6 @@
{
"environment" : "production",
"dashboard" : "explore",
"enablePiwikTrack" : true,
"useCache" : true,
"metricsAPIURL" : "https://services.openaire.eu/usagestats/",

View File

@ -1,5 +1,6 @@
{
"environment" : "test",
"dashboard" : "explore",
"enablePiwikTrack" : false,
"enableHelper" : true,
"useCache" : true,

View File

@ -17,7 +17,7 @@ import {UserManagementService} from "./openaireLibrary/services/user-management.
`],
template: `
<navbar *ngIf="properties && loginCheck" portal="explore" [properties]=properties [onlyTop]=false [user]="user"
<navbar *ngIf="properties && loginCheck" [portal]="properties.dashboard" [properties]=properties [onlyTop]=false [user]="user"
[communityId]="properties.adminToolsCommunity" [userMenuItems]=userMenuItems [menuItems]=menuItems></navbar>
<div class="custom-main-content">
<main>

View File

@ -1,5 +1,6 @@
{
"environment" : "development",
"dashboard" : "explore",
"enablePiwikTrack" : false,
"useCache" : true,
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",