From b970b9c302707067e63eee51675b59427dc5150a Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 4 Nov 2022 16:36:51 +0200 Subject: [PATCH] Add new sidebar in topics component (need to investigate about transition). Add hasInternalSidebar for topics component. Move categories under topics in monitor sidebar --- .../admin-stakeholder-routing.module.ts | 7 +- src/app/app.component.html | 9 +- src/app/app.component.ts | 34 +- src/app/monitor/monitor.component.html | 25 +- src/app/openaireLibrary | 2 +- src/app/topic/topic.component.html | 417 ++++++++---------- src/app/topic/topic.component.ts | 8 +- src/assets/common-assets | 2 +- src/assets/openaire-theme | 2 +- 9 files changed, 235 insertions(+), 271 deletions(-) diff --git a/src/app/admin-stakeholder/admin-stakeholder-routing.module.ts b/src/app/admin-stakeholder/admin-stakeholder-routing.module.ts index e8d1c79..84d378d 100644 --- a/src/app/admin-stakeholder/admin-stakeholder-routing.module.ts +++ b/src/app/admin-stakeholder/admin-stakeholder-routing.module.ts @@ -21,20 +21,19 @@ import {RouterModule} from "@angular/router"; { path: 'indicators', loadChildren: () => import('../topic/topic.module').then(m => m.TopicModule), + data: {hasInternalSidebar: true}, pathMatch: 'full' }, { path: 'indicators/:topic', loadChildren: () => import('../topic/topic.module').then(m => m.TopicModule), + data: {hasInternalSidebar: true}, pathMatch: 'full' }, { path: 'admin-tools', loadChildren: () => import('../admin-tools/admin-tools-routing.module').then(m => m.AdminToolsRoutingModule), - data: { - param: 'stakeholder', - parentClass: 'monitor' - } + data: {param: 'stakeholder', parentClass: 'monitor'} } ])] }) diff --git a/src/app/app.component.html b/src/app/app.component.html index c3c7c0e..8c05fa6 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -2,14 +2,15 @@
- -
+
diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index 56a8a03..7bae3b1 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 56a8a035cc5df422fc5fa442694bdc87894cdd26 +Subproject commit 7bae3b1ebb01a87246f9cc886cc5777ab5ddcf33 diff --git a/src/app/topic/topic.component.html b/src/app/topic/topic.component.html index 91e16c3..ca04ab4 100644 --- a/src/app/topic/topic.component.html +++ b/src/app/topic/topic.component.html @@ -12,90 +12,166 @@