Revision 57386
Added by Argiro Kokogiannaki over 4 years ago
modules/uoa-services-portal/trunk/explore/src/app/app.component.ts | ||
---|---|---|
17 | 17 |
`], |
18 | 18 |
template: ` |
19 | 19 |
|
20 |
<navbar *ngIf="properties && loginCheck" portal="explore" [properties]=properties [onlyTop]=false [user]="user"
|
|
20 |
<navbar *ngIf="properties && loginCheck" [portal]="properties.dashboard" [properties]=properties [onlyTop]=false [user]="user"
|
|
21 | 21 |
[communityId]="properties.adminToolsCommunity" [userMenuItems]=userMenuItems [menuItems]=menuItems></navbar> |
22 | 22 |
<div class="custom-main-content"> |
23 | 23 |
<main> |
modules/uoa-services-portal/trunk/explore/src/assets/env-properties.json | ||
---|---|---|
1 | 1 |
{ |
2 | 2 |
"environment" : "development", |
3 |
"dashboard" : "explore", |
|
3 | 4 |
"enablePiwikTrack" : false, |
4 | 5 |
"useCache" : true, |
5 | 6 |
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/", |
modules/uoa-services-portal/trunk/explore/deploy/test-properties.json | ||
---|---|---|
1 | 1 |
{ |
2 | 2 |
"environment" : "test", |
3 |
"dashboard" : "explore", |
|
3 | 4 |
"enablePiwikTrack" : false, |
4 | 5 |
"enableHelper" : true, |
5 | 6 |
"useCache" : true, |
modules/uoa-services-portal/trunk/explore/deploy/production-properties.json | ||
---|---|---|
1 | 1 |
{ |
2 | 2 |
"environment" : "production", |
3 |
"dashboard" : "explore", |
|
3 | 4 |
"enablePiwikTrack" : true, |
4 | 5 |
"useCache" : true, |
5 | 6 |
"metricsAPIURL" : "https://services.openaire.eu/usagestats/", |
modules/uoa-services-portal/trunk/explore/deploy/beta-properties.json | ||
---|---|---|
1 | 1 |
{ |
2 | 2 |
"environment" : "beta", |
3 |
"dashboard" : "explore", |
|
3 | 4 |
"enablePiwikTrack" : true, |
4 | 5 |
"useCache" : true, |
5 | 6 |
"metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/", |
Also available in: Unified diff
[Explore|Trunk]
Properties: add property "dashboard"
use it in navbar