[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:
parent
f4a4025fc4
commit
fc936a1673
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"environment" : "beta",
|
||||
"dashboard" : "connect",
|
||||
"enablePiwikTrack" : true,
|
||||
"useCache" : true,
|
||||
"showContent" : true,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"environment" : "production",
|
||||
"dashboard" : "connect",
|
||||
"enablePiwikTrack" : false,
|
||||
"useCache" : true,
|
||||
"showContent" : true,
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"environment" : "development",
|
||||
"dashboard" : "connect",
|
||||
"enablePiwikTrack" : false,
|
||||
"useCache" : false,
|
||||
"showContent" : true,
|
||||
|
|
Loading…
Reference in New Issue