[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",
|
"environment" : "beta",
|
||||||
|
"dashboard" : "explore",
|
||||||
"enablePiwikTrack" : true,
|
"enablePiwikTrack" : true,
|
||||||
"useCache" : true,
|
"useCache" : true,
|
||||||
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",
|
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"environment" : "production",
|
"environment" : "production",
|
||||||
|
"dashboard" : "explore",
|
||||||
"enablePiwikTrack" : true,
|
"enablePiwikTrack" : true,
|
||||||
"useCache" : true,
|
"useCache" : true,
|
||||||
"metricsAPIURL" : "https://services.openaire.eu/usagestats/",
|
"metricsAPIURL" : "https://services.openaire.eu/usagestats/",
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"environment" : "test",
|
"environment" : "test",
|
||||||
|
"dashboard" : "explore",
|
||||||
"enablePiwikTrack" : false,
|
"enablePiwikTrack" : false,
|
||||||
"enableHelper" : true,
|
"enableHelper" : true,
|
||||||
"useCache" : true,
|
"useCache" : true,
|
||||||
|
|
|
@ -17,7 +17,7 @@ import {UserManagementService} from "./openaireLibrary/services/user-management.
|
||||||
`],
|
`],
|
||||||
template: `
|
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>
|
[communityId]="properties.adminToolsCommunity" [userMenuItems]=userMenuItems [menuItems]=menuItems></navbar>
|
||||||
<div class="custom-main-content">
|
<div class="custom-main-content">
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"environment" : "development",
|
"environment" : "development",
|
||||||
|
"dashboard" : "explore",
|
||||||
"enablePiwikTrack" : false,
|
"enablePiwikTrack" : false,
|
||||||
"useCache" : true,
|
"useCache" : true,
|
||||||
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",
|
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/",
|
||||||
|
|
Loading…
Reference in New Issue