From 2e09307162a4f5e75fac477665e82c168dc8e79a Mon Sep 17 00:00:00 2001 From: Kathleen Neumann Date: Mon, 4 Sep 2023 12:20:12 +0200 Subject: [PATCH] UBO-18 unify name identifier handling (#316) * UBO-18 unify name identifier handling * UBO-18 use name identifier classification and code refacturing * UBO-18 do not display identifier marked with x-display=false * UBO-18 set color of connected author icon to primary color --- .../setup/classifications/nameIdentifier.xml | 19 ++ .../META-INF/resources/scss/_ubo-common.scss | 4 + .../src/main/resources/xsl/mods-display.xsl | 226 +++++++++--------- 3 files changed, 133 insertions(+), 116 deletions(-) diff --git a/ubo-cli/src/main/setup/classifications/nameIdentifier.xml b/ubo-cli/src/main/setup/classifications/nameIdentifier.xml index 566ad110f..10e6e480f 100644 --- a/ubo-cli/src/main/setup/classifications/nameIdentifier.xml +++ b/ubo-cli/src/main/setup/classifications/nameIdentifier.xml @@ -6,18 +6,37 @@ + + + + diff --git a/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss b/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss index e00bcf255..f44627368 100644 --- a/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss +++ b/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss @@ -143,6 +143,10 @@ cursor: pointer; } + .is-connected-author { + color: $primary; + } + .ubo-mandatory::before { content: "* \00A0"; } diff --git a/ubo-common/src/main/resources/xsl/mods-display.xsl b/ubo-common/src/main/resources/xsl/mods-display.xsl index d3191c435..c0379ed17 100644 --- a/ubo-common/src/main/resources/xsl/mods-display.xsl +++ b/ubo-common/src/main/resources/xsl/mods-display.xsl @@ -474,6 +474,7 @@ +
@@ -483,6 +484,9 @@
+ + + @@ -507,16 +511,33 @@ - - - - - - - - - - + + + + ubo-person-popover ml-1 fas fa-user + + -edit + + + ubo-person-connected + + + + +
+
+ + + + + + + + +
+
+
+
@@ -540,125 +561,98 @@ / - - - - - - - - ubo-person-popover ml-1 fas fa-user - - -edit - - - -
-
- - - - - -
- -
-
- - - - - - - ORCID iD - - - - - - - - - - - - - -
-
-
+ + + + + +
+ +
+
+ + + + + + + ORCID iD + + + + + + + + + + + + + +
-
-
-
- - - - LSF - - - - - - - ORCID iD - - - - - - ResearcherID - - - - - - GND - - - - - - - - SCOPUS - + + - - - - - - - - - - - - + - - - - + + + + + +
+ +
+
+ + + + + + + ORCID iD + + + + + + + + + + + + + +
- + + + + + + + + + + +
+ +
+
+ +
-
- - - - - -