Revision 60293
Added by Konstantinos Triantafyllou about 3 years ago
app.component.ts | ||
---|---|---|
185 | 185 |
} |
186 | 186 |
if (Session.isPortalAdministrator(this.user)) { |
187 | 187 |
this.userMenuItems.push(new MenuItem("adminOptions", "Super Admin options", "", "/admin-tools/portals", false, [], [], {})); |
188 |
this.userMenuItems.push(new MenuItem("connectOptions", "Connect portal options", "", "/admin-tools/pages", false, [], [], {communityId: 'connect'})); |
|
188 |
this.userMenuItems.push(new MenuItem("connectOptions", "Connect portal options", "", "/connect/admin-tools/pages", false, [], [], {})); |
|
189 |
this.userMenuItems.push(new MenuItem("exploreOptions", "Explore portal options", "", "/openaire/admin-tools/pages", false, [], [], {})); |
|
190 |
|
|
189 | 191 |
} |
190 | 192 |
this.userMenuItems.push(new MenuItem("", "User information", "", "/user-info", false, [], [], {})); |
191 | 193 |
} |
... | ... | |
203 | 205 |
}; |
204 | 206 |
this.sideBarItems.push(new MenuItem("community", "Community Info", "", "/" + this.community.communityId, false, [], [], {})); |
205 | 207 |
this.sideBarItems.push(new MenuItem("users", "Users", "", "/" + this.community.communityId + "/users", false, [], [], {})); |
206 |
this.sideBarItems.push(new MenuItem("admin-tools", "Pages & Entities", "", "/" + this.community.communityId + "/pages", false, [], [], {}));
|
|
208 |
this.sideBarItems.push(new MenuItem("admin-tools", "Pages & Entities", "", "/" + this.community.communityId + "/admin-tools/pages", false, [], [], {}, null, null, null, "/" + this.community.communityId + "/admin-tools"));
|
|
207 | 209 |
if (this.community.type === 'ri') { |
208 | 210 |
this.sideBarItems.push(new MenuItem("mining", "Mining", "", "/" + this.community.communityId + "/mining/manage-profiles", false, [], [], {}, null, null, null, "/" + this.community.communityId + "/mining")); |
209 | 211 |
} |
Also available in: Unified diff
[Admin | New UI]: Fix routes for new admin