[Connect|Trunk]

Properties: add property "dashboard"
use it in navbar




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57391 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-10-16 11:01:14 +00:00
parent f4a4025fc4
commit fc936a1673
4 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
{
"environment" : "beta",
"dashboard" : "connect",
"enablePiwikTrack" : true,
"useCache" : true,
"showContent" : true,

View File

@ -1,5 +1,6 @@
{
"environment" : "production",
"dashboard" : "connect",
"enablePiwikTrack" : false,
"useCache" : true,
"showContent" : true,

View File

@ -19,10 +19,10 @@ import {UserManagementService} from "./openaireLibrary/services/user-management.
`],
template: `
<div [class]="(community)?(community.id +'App'):'connectApp'">
<navbar *ngIf="properties && showMenu && !community && loginCheck" portal="connect" [onlyTop]=false
<navbar *ngIf="properties && showMenu && !community && loginCheck" [portal]="properties.dashboard" [onlyTop]=false
[userMenuItems]=userMenuItems [menuItems]=menuItems [user]="user"
[showMenu]=showMenu [properties]="properties" [showHomeMenuItem]="true"></navbar>
<navbar *ngIf="properties && showMenu && community && loginCheck" portal="connect" [onlyTop]=false [communityId]="community.id"
<navbar *ngIf="properties && showMenu && community && loginCheck" [portal]="properties.dashboard" [onlyTop]=false [communityId]="community.id"
[userMenuItems]=userMenuItems [menuItems]=menuItems [user]="user"
[community]=community [showMenu]=showMenu [properties]="properties" [enableSearch]="true"
[showHomeMenuItem]="true"></navbar>

View File

@ -1,5 +1,6 @@
{
"environment" : "development",
"dashboard" : "connect",
"enablePiwikTrack" : false,
"useCache" : false,
"showContent" : true,