Project

General

Profile

« Previous | Next » 

Revision 53029

merging changes from trunk r53028

View differences:

app.component.ts
72 72
       this._communitiesService.getCommunities(this.properties, this.properties.communitiesAPI).subscribe (
73 73
         communities => {
74 74
               this.userMenuItems =[ new MenuItem("","My profile","","",false,[],[],{}),
75
                  new MenuItem("","My claims","","/myclaims",false,[],["/myclaims"],{}),
75
                  new MenuItem("","My links","","/myclaims",false,[],["/myclaims"],(data['communityId'] && typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:data['communityId']}),
76 76
                ];
77 77
                for(var com of communities){
78 78
                   if((data['communityId'] && data['communityId']!="" &&  com.communityId  == data['communityId'])
......
87 87
                        items: [new MenuItem("","Publications","","/search/find/publications",false,["publication"],["/search/find/publications"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId}),
88 88
                        new MenuItem("","Research Data","","/search/find/datasets",false,["dataset"],["/search/find/datasets"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId}),
89 89
                        new MenuItem("","Software","","/search/find/software",false,["software"],["/search/find/software"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId}),
90
                        new MenuItem("","Other Research Products","","/search/find/other",false,["orp"],["/search/find/other"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId}),
90 91
                       new MenuItem("","Projects","","/search/find/projects/",false,["project"],["/search/find/projects"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId}),
91 92
                       new MenuItem("","Content Providers","","/search/find/dataproviders",false,["datasource"],["/search/find/dataproviders"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId}),
92 93
                      ]},
......
123 124
              }else{
124 125
                this.bottomMenuItems = [
125 126
                  new MenuItem("","About","","/about",false,[],["/about"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId}),
126
                  new MenuItem("","Organizations","","/organizations",false,[],["/organizations"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId})               
127
                  new MenuItem("","Organizations","","/organizations",false,[],["/organizations"],(typeof document !== 'undefined' && ConnectHelper.isProduction(document.location.hostname))?{}:{communityId:community.communityId})
127 128
                ];
128 129
                if(this.properties.showContent){
129 130
                  this.bottomMenuItems.push(new MenuItem("","Content Policy","","/content",false,[],[],{}));

Also available in: Unified diff