[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:
parent
79e19314f1
commit
f2f1c89470
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"environment" : "beta",
|
||||
"dashboard" : "explore",
|
||||
"enablePiwikTrack" : true,
|
||||
"useCache" : true,
|
||||
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"environment" : "production",
|
||||
"dashboard" : "explore",
|
||||
"enablePiwikTrack" : true,
|
||||
"useCache" : true,
|
||||
"metricsAPIURL" : "https://services.openaire.eu/usagestats/",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"environment" : "test",
|
||||
"dashboard" : "explore",
|
||||
"enablePiwikTrack" : false,
|
||||
"enableHelper" : true,
|
||||
"useCache" : true,
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"environment" : "development",
|
||||
"dashboard" : "explore",
|
||||
"enablePiwikTrack" : false,
|
||||
"useCache" : true,
|
||||
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",
|
||||
|
|
Loading…
Reference in New Issue