From a83852cffdd79cc5b9ac803fa0e2f0d4215b06e4 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Thu, 9 Mar 2023 16:30:13 +0200 Subject: [PATCH] WIP - add sdg/fos as subjects for community admin dashboards --- src/app/openaireLibrary | 2 +- .../subjects-edit-form.component.html | 326 ++++++++++++++++-- .../subjects-edit-form.component.ts | 247 ++++++++++--- .../subjects-edit-form.module.ts | 4 +- 4 files changed, 491 insertions(+), 88 deletions(-) diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index 1d2a0ef..efc2d6c 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 1d2a0effa840836cbb26334eabd9e1ea3752b455 +Subproject commit efc2d6c47b1c8e81150274589550b26c25b6eb8f diff --git a/src/app/pages/subjects/subjects-edit-form/subjects-edit-form.component.html b/src/app/pages/subjects/subjects-edit-form/subjects-edit-form.component.html index 7170888..5b9bf10 100644 --- a/src/app/pages/subjects/subjects-edit-form/subjects-edit-form.component.html +++ b/src/app/pages/subjects/subjects-edit-form/subjects-edit-form.component.html @@ -1,5 +1,5 @@
-
+ +
@@ -37,6 +36,7 @@
+
No subjects @@ -45,6 +45,228 @@
+ +
    +
  • + +
    + +
    + +
    +
    +
    +
    {{item.group}}
    +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    + +
    +
    +
    + +
    +
    +
    +
    {{groupedAllSubjects[index].group}}
    + +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    +
    + +
    +
    +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    +
    +
    +
    +
    +
    +
    +
    +
  • +
  • + +
    + +
    + +
    +
    +
    +
    {{item.group}}
    +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    + +
    +
    +
    + +
    +
    +
    +
    {{groupedSubjects[index].group}}
    + +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    +
    + +
    +
    +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    +
    +
    +
    +
    +
    +
    +
    +
  • +
  • + +
    + +
    + +
    +
    +
    +
    {{item.group}}
    +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    + +
    +
    +
    + +
    +
    +
    +
    {{groupedSdg[index].group}}
    + +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    +
    + +
    +
    +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    +
    +
    +
    +
    +
    +
    +
    +
  • +
  • + +
    + +
    + +
    +
    +
    +
    {{item.group}}
    +
    + + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} + +
    + +
    +
    +
    + +
    +
    +
    +
    {{groupedFos[index].group}}
    + +
    + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} +
    +
    + +
    +
    +
    + + {{subItem.length > maxCharacters ? subItem.substring(0,maxCharacters)+'...' : subItem}} + +
    +
    +
    +
    +
    +
    +
    +
    +
  • +
+
+
- - -
- -
-
-
-
- + + + + + -
- + +
+ + {{subject}} + + +
+ +
  • + +
  • +
  • + +
  • + +