From 8e0ae783831226ea1d9f30eca81cad84a3bf4e45 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Mon, 16 May 2022 14:07:15 +0300 Subject: [PATCH] update 'my links' and 'my orcid links' pages --- .../displayClaims/displayClaims.component.html | 8 ++++---- .../entityFormatter/claimEntityFormatter.component.ts | 6 +++--- .../publicationTitleFormatter.component.ts | 4 ++-- orcid/my-orcid-links/searchMyOrcidResults.component.html | 4 ++-- orcid/orcid-work.component.ts | 8 ++++---- utils/result-preview/result-preview.component.html | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/claims/claim-utils/displayClaims/displayClaims.component.html b/claims/claim-utils/displayClaims/displayClaims.component.html index eabced9b..f1de0f12 100644 --- a/claims/claim-utils/displayClaims/displayClaims.component.html +++ b/claims/claim-utils/displayClaims/displayClaims.component.html @@ -33,7 +33,7 @@
@@ -105,7 +105,7 @@
-
+
available @@ -115,11 +115,11 @@ >pending
-
Claimed by: +
Claimed by: {{claim.userMail}} Claimed date: {{claim.date}}
-
+
diff --git a/claims/claim-utils/entityFormatter/claimEntityFormatter.component.ts b/claims/claim-utils/entityFormatter/claimEntityFormatter.component.ts index 4c38696c..e62a5d4a 100644 --- a/claims/claim-utils/entityFormatter/claimEntityFormatter.component.ts +++ b/claims/claim-utils/entityFormatter/claimEntityFormatter.component.ts @@ -10,7 +10,7 @@ import {ClaimDBContext, ClaimDBProject, ClaimDBResult} from "../claimHelper.clas template: `
-
{{type == 'publication'?'publication':(type == 'dataset'?'research data':(type == 'other'?'other':'software'))}}
+
{{type == 'publication'?'publication':(type == 'dataset'?'research data':(type == 'other'?'other':'software'))}}
Link to {{type == 'publication'?'publication':(type == 'dataset'?'research data':(type == 'other'?'other':'software'))}}:
- Link to project: + Link to project:
- Link to community: {{entity.title}} + Link to community: {{entity.title}}
` }) diff --git a/claims/claim-utils/entityFormatter/publicationTitleFormatter.component.ts b/claims/claim-utils/entityFormatter/publicationTitleFormatter.component.ts index 5dad97fe..566b133a 100644 --- a/claims/claim-utils/entityFormatter/publicationTitleFormatter.component.ts +++ b/claims/claim-utils/entityFormatter/publicationTitleFormatter.component.ts @@ -8,8 +8,8 @@ import {RouterHelper} from '../../../utils/routerHelper.class'; template: ` - {{entity.title?entity.title:"[No title available]"}} + {{entity.title?entity.title:"[No title available]"}} diff --git a/orcid/my-orcid-links/searchMyOrcidResults.component.html b/orcid/my-orcid-links/searchMyOrcidResults.component.html index 9a8bf6b0..e4589336 100644 --- a/orcid/my-orcid-links/searchMyOrcidResults.component.html +++ b/orcid/my-orcid-links/searchMyOrcidResults.component.html @@ -9,7 +9,7 @@
  • -
    +
    - diff --git a/orcid/orcid-work.component.ts b/orcid/orcid-work.component.ts index d44df4c0..adc1c9f5 100644 --- a/orcid/orcid-work.component.ts +++ b/orcid/orcid-work.component.ts @@ -123,7 +123,7 @@ declare var UIkit: any; ? 'This work is currently deleted.' : 'View this work from your ORCID record'"> + [class]="'uk-button uk-button-default action uk-flex uk-flex-middle '+ ((showLoading || !putCodes || putCodes.length == 0) ? 'uk-disabled' : '')"> @@ -136,7 +136,7 @@ declare var UIkit: any; : ('Update this work to your ORCID record' + ((properties.environment == 'beta') ? '. The action will affect your real ORCID iD.' : '') + showUpdateDatesInTooltip())"> + [class]="'uk-button uk-button-default action uk-margin-top uk-flex uk-flex-middle '+ ((showLoading || !putCodes || putCodes.length == 0) ? 'uk-disabled' : '')"> Update ORCID work @@ -146,7 +146,7 @@ declare var UIkit: any; + [class]="'uk-button uk-button-default action uk-margin-top uk-flex uk-flex-middle '+ (showLoading ? 'uk-disabled' : '')"> Add to ORCID @@ -156,7 +156,7 @@ declare var UIkit: any; + [class]="'uk-button uk-button-default action uk-margin-top uk-flex uk-flex-middle '+ (showLoading ? 'uk-disabled' : '')"> Delete from ORCID diff --git a/utils/result-preview/result-preview.component.html b/utils/result-preview/result-preview.component.html index 1392fc2c..946ee444 100644 --- a/utils/result-preview/result-preview.component.html +++ b/utils/result-preview/result-preview.component.html @@ -300,7 +300,7 @@
    @@ -327,7 +327,7 @@ d="M16.014.67a27.181,27.181,0,0,1,.936,6.07c0,2.605-1.707,4.717-4.312,4.717A4.6,4.6,0,0,1,8.047,6.74l.038-.455A17.411,17.411,0,0,0,4,17.527a10.117,10.117,0,0,0,20.234,0A21.643,21.643,0,0,0,16.014.67ZM13.75,23.85A4.016,4.016,0,0,1,9.678,19.88c0-2.049,1.328-3.49,3.554-3.946a9.753,9.753,0,0,0,5.843-3.263,17.645,17.645,0,0,1,.746,5.109,6.072,6.072,0,0,1-6.07,6.07Z" transform="translate(-4 -0.67)"/> - {{" " + result.pop_inf[2] + + {{" " + result.pop_inf[2] + " popularity" }} {{" " + (result.pop_inf[0] == 'A' ? 'In top 0.01%' : '') + (result.pop_inf[0] == 'B' ? 'In top 1%' : '') + (result.pop_inf[0] == 'C' ? 'In bottom 99%' : '')}} @@ -361,7 +361,7 @@ d="M4.558,12.51v8.952H8.394V12.51Zm7.673,0v8.952h3.837V12.51ZM2,27.857H26.3V24.02H2ZM19.9,12.51v8.952h3.837V12.51ZM14.149,1,2,7.394V9.952H26.3V7.394Z" transform="translate(-2 -1)"/> - {{result.pop_inf[3] + " influence" }}