From f31fdbf3c0b2ddee2032595addeebe1a27066f27 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:51:49 +0200 Subject: [PATCH 1/5] fix affiliation start and end dates start and end dates will only be displayed in the following formats: 'yyyy-mm-dd' and 'yyyy-mm' --- .../affiliation-detail.component.html | 347 ++++++++++++------ .../affiliation-detail.component.ts | 16 +- .../affiliation/affiliations.component.html | 18 +- .../app/affiliation/affiliations.component.ts | 14 +- .../app/shared/service/date-util.service.ts | 16 + ui/src/i18n/messages.cs.xlf | 90 ++--- ui/src/i18n/messages.es.xlf | 90 ++--- ui/src/i18n/messages.fr.xlf | 90 ++--- ui/src/i18n/messages.it.xlf | 90 ++--- ui/src/i18n/messages.ja.xlf | 90 ++--- ui/src/i18n/messages.ko.xlf | 90 ++--- ui/src/i18n/messages.pt.xlf | 90 ++--- ui/src/i18n/messages.ru.xlf | 90 ++--- ui/src/i18n/messages.xlf | 84 ++--- ui/src/i18n/messages.zh-CN.xlf | 90 ++--- ui/src/i18n/messages.zh-TW.xlf | 90 ++--- 16 files changed, 780 insertions(+), 615 deletions(-) diff --git a/ui/src/app/affiliation/affiliation-detail.component.html b/ui/src/app/affiliation/affiliation-detail.component.html index db6bf7c71..6f3a9b6ed 100644 --- a/ui/src/app/affiliation/affiliation-detail.component.html +++ b/ui/src/app/affiliation/affiliation-detail.component.html @@ -1,116 +1,239 @@
-
-
-

Affiliation details

-
- -
-
-
ID
-
- {{affiliation.id}} -
-
Email
-
- {{affiliation.email}} -
-
Status
-
- {{affiliation.prettyStatus}} -
-
Permission link
-
- -
-
ORCID iD
-
- {{orcidBaseUrl}}/{{affiliation.orcidId}} -
-
Affiliation Section
-
- {{affiliation.affiliationSection}} -
-
Organization
-
- {{affiliation.orgName}}: {{affiliation.orgCity}}, {{affiliation.orgRegion}}, {{affiliation.orgCountry}}
- {{affiliation.disambiguationSource}} {{affiliation.disambiguatedOrgId}} -
-
Department Name
-
- {{affiliation.departmentName}} -
-
Role Title
-
- {{affiliation.roleTitle}} -
-
Url
-
- {{affiliation.url}} -
-
Start Date
-
- {{affiliation.startYear!}}-{{affiliation.startMonth}}-{{affiliation.startDay!}} -
-
End Date
-
- {{affiliation.endYear!}}-{{affiliation.endMonth}}-{{affiliation.endDay!}} -
-
External Id
-
- {{affiliation.externalIdType!}} {{affiliation.externalId}} {{affiliation.externalId}} -
-
Created
-
- {{affiliation.created!.toString() | date:'medium'}} -
-
Added To ORCID
-
- {{affiliation.addedToORCID!.toString() | date:'medium'}} -
-
Updated In ORCID
-
- {{affiliation.updatedInORCID!.toString() | date:'medium'}} -
-
Modified
-
- {{affiliation.modified!.toString() | date:'medium'}} by {{affiliation.lastModifiedBy}} -
-
Admin Id
-
- {{ownerId}} -
-
Notification First Sent
-
- {{affiliation.notificationSent.toString() | date:'medium'}} -
-
Notification First Sent
-
- {{affiliation.invitationSent.toString() | date:'medium'}} -
-
Notification Last Sent
-
- {{affiliation.notificationLastSent.toString() | date:'medium'}} -
-
Notification Last Sent
-
- {{affiliation.invitationLastSent.toString() | date:'medium'}} -
-
-
-
-
- +
+
+

Affiliation details

+
+ +
+
+
ID
+
+ {{ affiliation.id }} +
+
Email
+
+ {{ affiliation.email }} +
+
Status
+
+ {{ affiliation.prettyStatus }} +
+
+ Permission link +
+
+ +
+
+ ORCID iD +
+
+ {{ orcidBaseUrl }}/{{ affiliation.orcidId }} +
+
+ Affiliation Section +
+
+ {{ + affiliation.affiliationSection + }} +
+
Organization
+
+ {{ affiliation.orgName }}: {{ affiliation.orgCity }}, {{ affiliation.orgRegion }}, {{ affiliation.orgCountry }}
+ {{ affiliation.disambiguationSource }} {{ affiliation.disambiguatedOrgId }} +
+
+ Department Name +
+
+ {{ affiliation.departmentName }} +
+
+ Role Title +
+
+ {{ affiliation.roleTitle }} +
+
Url
+
+ {{ affiliation.url }} +
+
+ Start Date +
+
+ {{ startDate }} +
+
+ End Date +
+
+ {{ endDate }} +
+
+ External Id +
+
+ {{ affiliation.externalIdType! }} + {{ affiliation.externalId }} + {{ affiliation.externalId }} +
+
Created
+
+ {{ affiliation.created!.toString() | date: 'medium' }} +
+
+ Added To ORCID +
+
+ {{ affiliation.addedToORCID!.toString() | date: 'medium' }} +
+
+ Updated In ORCID +
+
+ {{ affiliation.updatedInORCID!.toString() | date: 'medium' }} +
+
Modified
+
+ {{ affiliation.modified!.toString() | date: 'medium' }} + by {{ affiliation.lastModifiedBy }} +
+
Admin Id
+
+ {{ ownerId }} +
+
+ Notification First Sent +
+
+ {{ affiliation.notificationSent.toString() | date: 'medium' }} +
+
+ Notification First Sent +
+
+ {{ affiliation.invitationSent.toString() | date: 'medium' }} +
+
+ Notification Last Sent +
+
+ {{ affiliation.notificationLastSent.toString() | date: 'medium' }} +
+
+ Notification Last Sent +
+
+ {{ affiliation.invitationLastSent.toString() | date: 'medium' }} +
+
+
+
+
+ - -
-
+ +
+
diff --git a/ui/src/app/affiliation/affiliation-detail.component.ts b/ui/src/app/affiliation/affiliation-detail.component.ts index 6131775e6..3fa977592 100644 --- a/ui/src/app/affiliation/affiliation-detail.component.ts +++ b/ui/src/app/affiliation/affiliation-detail.component.ts @@ -4,6 +4,7 @@ import { ORCID_BASE_URL } from '../app.constants' import { ActivatedRoute } from '@angular/router' import { UserService } from '../user/service/user.service' import { faPencilAlt, faArrowLeft } from '@fortawesome/free-solid-svg-icons' +import { DateUtilService } from '../shared/service/date-util.service' @Component({ selector: 'app-affiliation-detail', @@ -15,15 +16,28 @@ export class AffiliationDetailComponent implements OnInit { ownerId: string | undefined faPencilAlt = faPencilAlt faArrowLeft = faArrowLeft + startDate: string | undefined + endDate: string | undefined constructor( protected activatedRoute: ActivatedRoute, - protected userService: UserService + protected userService: UserService, + protected dateUtilService: DateUtilService ) {} ngOnInit() { this.activatedRoute.data.subscribe(({ affiliation }) => { this.affiliation = affiliation + this.startDate = this.dateUtilService.formatDate({ + year: affiliation.startYear, + month: affiliation.startMonth, + day: affiliation.startDay, + }) + this.endDate = this.dateUtilService.formatDate({ + year: affiliation.endYear, + month: affiliation.endMonth, + day: affiliation.endDay, + }) this.userService.find(this.affiliation!.ownerId!).subscribe((user) => { this.ownerId = user.email }) diff --git a/ui/src/app/affiliation/affiliations.component.html b/ui/src/app/affiliation/affiliations.component.html index 99b28bfcd..58be543d5 100644 --- a/ui/src/app/affiliation/affiliations.component.html +++ b/ui/src/app/affiliation/affiliations.component.html @@ -174,23 +174,23 @@

{{ affiliation.departmentName }} ({{ affiliation.roleTitle }})
- {{ affiliation.startYear }}-{{ affiliation.startMonth }}-{{ affiliation.startDay }} + {{ formatDate(affiliation.startYear, affiliation.startMonth, affiliation.startDay) }} + to - {{ affiliation.endYear }}-{{ affiliation.endMonth }}-{{ affiliation.endDay }}
+ {{ formatDate(affiliation.endYear, affiliation.endMonth, affiliation.endDay) }}
View details - {{ affiliation.created?.toString() | date: 'medium' }} + {{ affiliation.created?.toDate() | date: 'medium' : 'en-US' }} {{ affiliation.prettyStatus | localize }}
\ No newline at end of file + diff --git a/ui/src/app/affiliation/affiliations.component.ts b/ui/src/app/affiliation/affiliations.component.ts index dbfb35ab2..3a4f11860 100644 --- a/ui/src/app/affiliation/affiliations.component.ts +++ b/ui/src/app/affiliation/affiliations.component.ts @@ -21,6 +21,7 @@ import { AccountService } from '../account' import { AlertService } from '../shared/service/alert.service' import { ActivatedRoute, Router } from '@angular/router' import { EventService } from '../shared/service/event.service' +import { DateUtilService } from '../shared/service/date-util.service' @Component({ selector: 'app-affiliations', @@ -47,6 +48,8 @@ export class AffiliationsComponent implements OnInit, OnDestroy { ascending: any orcidBaseUrl: string | undefined = ORCID_BASE_URL itemCount: string | undefined + startDate: string | undefined + endDate: string | undefined faChartBar = faChartBar faFileDownload = faFileDownload faFileImport = faFileImport @@ -71,7 +74,8 @@ export class AffiliationsComponent implements OnInit, OnDestroy { protected activatedRoute: ActivatedRoute, protected router: Router, protected eventService: EventService, - protected translate: LanguageService + protected translate: LanguageService, + protected dateUtilService: DateUtilService ) { this.itemsPerPage = ITEMS_PER_PAGE } @@ -137,6 +141,14 @@ export class AffiliationsComponent implements OnInit, OnDestroy { this.loadAll() } + formatDate(year?: string, month?: string, day?: string) { + return this.dateUtilService.formatDate({ + year, + month, + day, + }) + } + clear() { this.page = 0 this.router.navigate([ diff --git a/ui/src/app/shared/service/date-util.service.ts b/ui/src/app/shared/service/date-util.service.ts index 10611303d..630027b39 100644 --- a/ui/src/app/shared/service/date-util.service.ts +++ b/ui/src/app/shared/service/date-util.service.ts @@ -72,4 +72,20 @@ export class DateUtilService { } return days } + + formatDate({ year, month, day }: { year?: string; month?: string; day?: string }): string { + let date = '' + if (year) { + date = year + + if (month && parseInt(month) > 0) { + date += `-${month.padStart(2, '0')}` + + if (day && parseInt(day) > 0) { + date += `-${day.padStart(2, '0')}` + } + } + } + return date + } } diff --git a/ui/src/i18n/messages.cs.xlf b/ui/src/i18n/messages.cs.xlf index f33473a44..70abfc2fc 100644 --- a/ui/src/i18n/messages.cs.xlf +++ b/ui/src/i18n/messages.cs.xlf @@ -1363,7 +1363,7 @@ podle src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1391,7 +1391,7 @@ Zpět src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1403,7 +1403,7 @@ Upravit src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1547,7 +1547,7 @@ Zobrazují se položky z src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1768,11 +1768,11 @@ - ORCID iD + ORCID iD ORCID iD src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1809,23 +1809,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + do src/app/affiliation/affiliations.component.html 183 @@ -1976,27 +1976,27 @@ - Permission link + Permission link Odkaz na povolení src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard Zkopírovat do schránky src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section Typ přidružení src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2008,15 +2008,15 @@ Organizace src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name Oddělení src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2024,11 +2024,11 @@ - Role Title + Role Title Role/Funkce src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2040,7 +2040,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2048,27 +2048,27 @@ - Start Date + Start Date Datum začátku src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date Datum ukončení src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id Externí ID src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2080,23 +2080,23 @@ Vytvořeno src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID Přidáno do ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID Aktualizováno v ORCID src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2104,7 +2104,7 @@ Upraveno src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2112,35 +2112,35 @@ Identifikace správce src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent Oznámení odeslané jako první src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent Oznámení naposledy odesláno src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2148,7 +2148,7 @@ Zkopírováno do schránky src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.es.xlf b/ui/src/i18n/messages.es.xlf index 7d0e6888d..8e84c016b 100644 --- a/ui/src/i18n/messages.es.xlf +++ b/ui/src/i18n/messages.es.xlf @@ -1363,7 +1363,7 @@ por src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1391,7 +1391,7 @@ Volver src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1403,7 +1403,7 @@ Editar src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1547,7 +1547,7 @@ Mostrando - de elementos. src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1768,11 +1768,11 @@ - ORCID iD + ORCID iD ORCID iD src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1809,23 +1809,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + al src/app/affiliation/affiliations.component.html 183 @@ -1976,28 +1976,28 @@ - Permission link + Permission link Enlace de permiso src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard Copiar al portapapeles src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section Tipo de afiliación src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2009,15 +2009,15 @@ Organización src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name Departamento src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2025,11 +2025,11 @@ - Role Title + Role Title Rol/título src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2041,7 +2041,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2049,27 +2049,27 @@ - Start Date + Start Date Fecha de inicio src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date Fecha de término src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id ID externa src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2081,23 +2081,23 @@ Creado src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID Añadido a ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID Actualizado en ORCID src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2105,7 +2105,7 @@ Modificado src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2113,35 +2113,35 @@ Identificación de administrador src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent Primera notificación enviada src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent Última notificación enviada src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2149,7 +2149,7 @@ Copiado al portapapeles src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.fr.xlf b/ui/src/i18n/messages.fr.xlf index 178462ebb..b427fca1d 100644 --- a/ui/src/i18n/messages.fr.xlf +++ b/ui/src/i18n/messages.fr.xlf @@ -1365,7 +1365,7 @@ par src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1393,7 +1393,7 @@ Retour src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1405,7 +1405,7 @@ Modifier src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1549,7 +1549,7 @@ Montrer entre et éléments sur . src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1770,11 +1770,11 @@ - ORCID iD + ORCID iD Identifiant ORCID src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1811,23 +1811,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + au src/app/affiliation/affiliations.component.html 183 @@ -1978,27 +1978,27 @@ - Permission link + Permission link Lien de l'autorisation src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard Copier dans le presse-papiers src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section Type d'affiliation src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2010,15 +2010,15 @@ Organisation src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name Service src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2026,11 +2026,11 @@ - Role Title + Role Title Rôle/titre src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2042,7 +2042,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2050,27 +2050,27 @@ - Start Date + Start Date Date de début src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date Date de fin src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id Identifiant externe src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2082,23 +2082,23 @@ Créé src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID Ajouté à ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID Mis à jour dans ORCID src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2106,7 +2106,7 @@ Modifié src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2114,35 +2114,35 @@ Identifiant de l'administrateur src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent Première notification envoyée src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent Dernière notification envoyée src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2150,7 +2150,7 @@ Copié dans le presse-papiers src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.it.xlf b/ui/src/i18n/messages.it.xlf index bc7981569..e7243f495 100644 --- a/ui/src/i18n/messages.it.xlf +++ b/ui/src/i18n/messages.it.xlf @@ -1377,7 +1377,7 @@ da src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1405,7 +1405,7 @@ Indietro src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1417,7 +1417,7 @@ Modifica src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1564,7 +1564,7 @@ Visualizzazione - di elementi. src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1787,11 +1787,11 @@ - ORCID iD + ORCID iD iD ORCID src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1828,23 +1828,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + fino a: src/app/affiliation/affiliations.component.html 183 @@ -1995,27 +1995,27 @@ - Permission link + Permission link Link di permesso src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard Copia negli appunti src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section Tipo di affiliazione src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2027,15 +2027,15 @@ Organizzazione src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name Dipartimento src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2043,11 +2043,11 @@ - Role Title + Role Title Ruolo/Titolo src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2059,7 +2059,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2067,28 +2067,28 @@ - Start Date + Start Date Data di inizio src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date Data di fine src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id ID esterno src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2100,24 +2100,24 @@ Creato src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID Aggiunto a ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID Aggiornato in ORCID src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2125,7 +2125,7 @@ Modificato src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2133,35 +2133,35 @@ ID amministratore src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent Prima notifica inviata src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent Ultima notifica inviata src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2169,7 +2169,7 @@ Copiato negli appunti src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.ja.xlf b/ui/src/i18n/messages.ja.xlf index 8e69338dd..dd5754af5 100644 --- a/ui/src/i18n/messages.ja.xlf +++ b/ui/src/i18n/messages.ja.xlf @@ -1364,7 +1364,7 @@ による src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1392,7 +1392,7 @@ 戻る src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1404,7 +1404,7 @@ 編集 src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1548,7 +1548,7 @@ アイテムの - を表示しています。 src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1769,11 +1769,11 @@ - ORCID iD + ORCID iD ORCID iD src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1810,23 +1810,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + : src/app/affiliation/affiliations.component.html 183 @@ -1977,27 +1977,27 @@ - Permission link + Permission link パーミッションリンク: src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard クリップボードにコピー src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section アフィリエーションタイプ src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2009,15 +2009,15 @@ 組織 src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2025,11 +2025,11 @@ - Role Title + Role Title 役割 / 役職 src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2041,7 +2041,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2049,27 +2049,27 @@ - Start Date + Start Date 開始日付 src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date 終了日付 src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id 外部ID src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2081,23 +2081,23 @@ 作成されました src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID ORCIDに追加されました src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID ORCID で更新されました src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2105,7 +2105,7 @@ 変更しました src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2113,35 +2113,35 @@ 管理者ID src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent 初回通知を送信しました src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent 最終送信通知 src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2149,7 +2149,7 @@ クリップボードにコピーされました src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.ko.xlf b/ui/src/i18n/messages.ko.xlf index a6aa5ce0c..7f5ae9eb4 100644 --- a/ui/src/i18n/messages.ko.xlf +++ b/ui/src/i18n/messages.ko.xlf @@ -1363,7 +1363,7 @@ 다음에 의함: src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1391,7 +1391,7 @@ 뒤로 src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1403,7 +1403,7 @@ 편집 src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1547,7 +1547,7 @@ 항목 중 - 항목 표시. src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1768,11 +1768,11 @@ - ORCID iD + ORCID iD ORCID ID src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1809,23 +1809,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + ~ src/app/affiliation/affiliations.component.html 183 @@ -1976,27 +1976,27 @@ - Permission link + Permission link 권한 링크 src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard 클립 보드에 복사 src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section 제휴 유형 src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2008,15 +2008,15 @@ 조직 src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name 부서 src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2024,11 +2024,11 @@ - Role Title + Role Title 역할/직책 src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2040,7 +2040,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2048,27 +2048,27 @@ - Start Date + Start Date 시작 날짜 src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date 종료 날짜 src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id 외부 ID src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2080,23 +2080,23 @@ 생성됨 src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID ORCID에 추가됨 src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID ORCID에서 업데이트됨 src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2104,7 +2104,7 @@ 수정됨 src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2112,35 +2112,35 @@ 관리자 ID src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent 알림 처음 전송됨 src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent 알림 마지막으로 전송됨 src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2148,7 +2148,7 @@ 클립보드에 복사됨 src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.pt.xlf b/ui/src/i18n/messages.pt.xlf index 96b14270f..8c4a83dfb 100644 --- a/ui/src/i18n/messages.pt.xlf +++ b/ui/src/i18n/messages.pt.xlf @@ -1364,7 +1364,7 @@ por src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1392,7 +1392,7 @@ Voltar src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1404,7 +1404,7 @@ Editar src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1548,7 +1548,7 @@ A mostrar - de itens. src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1769,11 +1769,11 @@ - ORCID iD + ORCID iD iD do ORCID src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1810,23 +1810,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + até src/app/affiliation/affiliations.component.html 183 @@ -1977,27 +1977,27 @@ - Permission link + Permission link Hiperligação de Permissão src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard Copiar para a área de transferência src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section Tipo de Afiliação src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2009,15 +2009,15 @@ Organização src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name Departamento src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2025,11 +2025,11 @@ - Role Title + Role Title Papel/Título src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2041,7 +2041,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2049,27 +2049,27 @@ - Start Date + Start Date Data de Início src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date Data de Fim src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id ID Externo src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2081,23 +2081,23 @@ Criado src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID Adicionado ao ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID Atualizado no ORCID src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2105,7 +2105,7 @@ Modificado src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2113,35 +2113,35 @@ ID do administrador src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent Primeira notificação enviada src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent Última notificação enviada src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2149,7 +2149,7 @@ Copiado para a área de transferência src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.ru.xlf b/ui/src/i18n/messages.ru.xlf index 26e8c8f66..9870f23e9 100644 --- a/ui/src/i18n/messages.ru.xlf +++ b/ui/src/i18n/messages.ru.xlf @@ -1363,7 +1363,7 @@ кем src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1391,7 +1391,7 @@ Назад src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1403,7 +1403,7 @@ Редактировать src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1547,7 +1547,7 @@ Показаны - из элементов. src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1768,11 +1768,11 @@ - ORCID iD + ORCID iD Идентификатор ORCID src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1809,23 +1809,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + по src/app/affiliation/affiliations.component.html 183 @@ -1976,27 +1976,27 @@ - Permission link + Permission link Ссылка на разрешение src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard Копировать в буфер обмена src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section Тип принадлежности src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2008,15 +2008,15 @@ Организация src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name Отдел src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2024,11 +2024,11 @@ - Role Title + Role Title Роль/форма обращения src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2040,7 +2040,7 @@ URL-адрес src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2048,27 +2048,27 @@ - Start Date + Start Date Дата начала src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date Дата окончания src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id Внешний идентификатор src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2080,23 +2080,23 @@ Создано src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID Добавлено в ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID Обновлено в ORCID src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2104,7 +2104,7 @@ Изменено src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2112,35 +2112,35 @@ Идентификатор администратора src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent Первое отправленное уведомление src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent Последнее отправленное уведомление src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2148,7 +2148,7 @@ Скопировано в буфер обмена src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.xlf b/ui/src/i18n/messages.xlf index c95bfaf33..4c76b53b8 100644 --- a/ui/src/i18n/messages.xlf +++ b/ui/src/i18n/messages.xlf @@ -1064,7 +1064,7 @@ Back src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1113,7 +1113,7 @@ Edit src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1322,7 +1322,7 @@ by src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1363,7 +1363,7 @@ Showing - of items. src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1476,18 +1476,18 @@ - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to src/app/affiliation/affiliations.component.html @@ -1581,10 +1581,10 @@ - ORCID iD + ORCID iD src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -3549,31 +3549,31 @@ - Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 - Added To ORCID + Added To ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 Admin Id src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Affiliation Section + Affiliation Section src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -3581,31 +3581,31 @@ - Copy to clipboard + Copy to clipboard src/app/affiliation/affiliation-detail.component.html - 23 + 36 Copied to clipboard src/app/affiliation/affiliation-detail.component.ts - 38 + 52 Created src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Department Name + Department Name src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -3616,7 +3616,7 @@ Organization src/app/affiliation/affiliation-detail.component.html - 33 + 56 @@ -3627,17 +3627,17 @@ - End Date + End Date src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -3690,39 +3690,39 @@ Modified src/app/affiliation/affiliation-detail.component.html - 74 + 140 - Notification First Sent + Notification First Sent src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Permission link + Permission link src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Role Title + Role Title src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -3730,17 +3730,17 @@ - Start Date + Start Date src/app/affiliation/affiliation-detail.component.html - 50 + 92 - Updated In ORCID + Updated In ORCID src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -3754,7 +3754,7 @@ Url src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html diff --git a/ui/src/i18n/messages.zh-CN.xlf b/ui/src/i18n/messages.zh-CN.xlf index 5b78a1475..5f09ffca2 100644 --- a/ui/src/i18n/messages.zh-CN.xlf +++ b/ui/src/i18n/messages.zh-CN.xlf @@ -1363,7 +1363,7 @@ 方式 src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1391,7 +1391,7 @@ 返回 src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1403,7 +1403,7 @@ 编辑 src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1547,7 +1547,7 @@ 当前显示第 - 个项目,共计 个项目。 src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1768,11 +1768,11 @@ - ORCID iD + ORCID iD ORCID iD src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1809,23 +1809,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + src/app/affiliation/affiliations.component.html 183 @@ -1976,27 +1976,27 @@ - Permission link + Permission link 权限链接 src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard 复制到剪贴板 src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section 机构类型 src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2008,15 +2008,15 @@ 组织 src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name 部门 src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2024,11 +2024,11 @@ - Role Title + Role Title 角色/职位 src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2040,7 +2040,7 @@ URL src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2048,27 +2048,27 @@ - Start Date + Start Date 开始日期 src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date 结束日期 src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id 外部 ID src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2080,23 +2080,23 @@ 已创建 src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID 已添加至 ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID 已在 ORCID 中更新 src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2104,7 +2104,7 @@ 已修改 src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2112,35 +2112,35 @@ Admin ID src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent 首次发送的通知 src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent 最后发送的通知 src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2148,7 +2148,7 @@ 已复制到剪贴板 src/app/affiliation/affiliation-detail.component.ts - 38 + 52 diff --git a/ui/src/i18n/messages.zh-TW.xlf b/ui/src/i18n/messages.zh-TW.xlf index ad3d55079..996dd056d 100644 --- a/ui/src/i18n/messages.zh-TW.xlf +++ b/ui/src/i18n/messages.zh-TW.xlf @@ -1363,7 +1363,7 @@ src/app/affiliation/affiliation-detail.component.html - 76 + 143 src/app/user/user-detail.component.html @@ -1391,7 +1391,7 @@ 回去 src/app/affiliation/affiliation-detail.component.html - 105 + 230 src/app/user/user-detail.component.html @@ -1403,7 +1403,7 @@ 編輯 src/app/affiliation/affiliation-detail.component.html - 111 + 234 src/app/affiliation/affiliations.component.html @@ -1547,7 +1547,7 @@ 顯示 項物件中的 - 項。 src/app/affiliation/affiliations.component.ts - 216 + 228 src/app/user/users.component.ts @@ -1768,11 +1768,11 @@ - ORCID iD + ORCID iD ORCID 編碼 src/app/affiliation/affiliation-detail.component.html - 25 + 40 src/app/affiliation/affiliations.component.html @@ -1809,23 +1809,23 @@ - + - + src/app/affiliation/affiliation-detail.component.html - 31 + 52 src/app/affiliation/affiliations.component.html 167 - + to - to + src/app/affiliation/affiliations.component.html 183 @@ -1976,27 +1976,27 @@ - Permission link + Permission link 許可連結 src/app/affiliation/affiliation-detail.component.html - 21 + 25 - Copy to clipboard + Copy to clipboard 已複製到剪貼簿 src/app/affiliation/affiliation-detail.component.html - 23 + 36 - Affiliation Section + Affiliation Section 機關類別 src/app/affiliation/affiliation-detail.component.html - 29 + 48 src/app/affiliation/affiliation-update.component.html @@ -2008,15 +2008,15 @@ 組織 src/app/affiliation/affiliation-detail.component.html - 33 + 56 - Department Name + Department Name 系所 src/app/affiliation/affiliation-detail.component.html - 38 + 68 src/app/affiliation/affiliation-update.component.html @@ -2024,11 +2024,11 @@ - Role Title + Role Title 角色/職稱 src/app/affiliation/affiliation-detail.component.html - 42 + 78 src/app/affiliation/affiliation-update.component.html @@ -2040,7 +2040,7 @@ 網址 src/app/affiliation/affiliation-detail.component.html - 46 + 84 src/app/affiliation/affiliation-update.component.html @@ -2048,27 +2048,27 @@ - Start Date + Start Date 開始日期 src/app/affiliation/affiliation-detail.component.html - 50 + 92 - End Date + End Date 結束日期 src/app/affiliation/affiliation-detail.component.html - 54 + 98 - External Id + External Id 外部編碼 src/app/affiliation/affiliation-detail.component.html - 58 + 108 src/app/affiliation/affiliation-update.component.html @@ -2080,23 +2080,23 @@ 已創建 src/app/affiliation/affiliation-detail.component.html - 62 + 116 - Added To ORCID + Added To ORCID 已新增至 ORCID src/app/affiliation/affiliation-detail.component.html - 66 + 124 - Updated In ORCID + Updated In ORCID 已於 ORCID 中更新 src/app/affiliation/affiliation-detail.component.html - 70 + 134 @@ -2104,7 +2104,7 @@ 已修改 src/app/affiliation/affiliation-detail.component.html - 74 + 140 @@ -2112,35 +2112,35 @@ 管理者編碼 src/app/affiliation/affiliation-detail.component.html - 78 + 145 - Notification First Sent + Notification First Sent 首次傳送的通知 src/app/affiliation/affiliation-detail.component.html - 82 + 156 src/app/affiliation/affiliation-detail.component.html - 86 + 175 - Notification Last Sent + Notification Last Sent 最近一次傳送通知 src/app/affiliation/affiliation-detail.component.html - 90 + 194 - Notification Last Sent - Notification Last Sent + Notification Last Sent + Notification Last Sent src/app/affiliation/affiliation-detail.component.html - 94 + 213 @@ -2148,7 +2148,7 @@ 已複製到剪貼簿 src/app/affiliation/affiliation-detail.component.ts - 38 + 52 From 5f15bf6b9c2ab4b77f9d234be84dc4b67d26e5e6 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:57:12 +0200 Subject: [PATCH 2/5] fix null start end dates --- ui/src/app/affiliation/affiliation-update.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/app/affiliation/affiliation-update.component.ts b/ui/src/app/affiliation/affiliation-update.component.ts index e7fe29831..082226c99 100644 --- a/ui/src/app/affiliation/affiliation-update.component.ts +++ b/ui/src/app/affiliation/affiliation-update.component.ts @@ -208,10 +208,10 @@ export class AffiliationUpdateComponent implements OnInit { roleTitle: assertion.roleTitle, url: assertion.url, startYear: assertion.startYear, - startMonth: parseInt(assertion.startMonth || '0'), + startMonth: parseInt(assertion.startMonth || '') || null, startDay: assertion.startDay, endYear: assertion.endYear, - endMonth: parseInt(assertion.endMonth || '0'), + endMonth: parseInt(assertion.endMonth || '') || null, endDay: assertion.endDay, orgName: assertion.orgName, orgCountry: assertion.orgCountry, From cee69d698449fabf57fc7ad4d2e8a753c8c572c9 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:38:50 +0200 Subject: [PATCH 3/5] fix affiliation edit url --- .../affiliation-detail.component.html | 349 ++++++++++++------ 1 file changed, 237 insertions(+), 112 deletions(-) diff --git a/ui/src/app/affiliation/affiliation-detail.component.html b/ui/src/app/affiliation/affiliation-detail.component.html index db6bf7c71..ae75d93d6 100644 --- a/ui/src/app/affiliation/affiliation-detail.component.html +++ b/ui/src/app/affiliation/affiliation-detail.component.html @@ -1,116 +1,241 @@
-
-
-

Affiliation details

-
- -
-
-
ID
-
- {{affiliation.id}} -
-
Email
-
- {{affiliation.email}} -
-
Status
-
- {{affiliation.prettyStatus}} -
-
Permission link
-
- -
-
ORCID iD
-
- {{orcidBaseUrl}}/{{affiliation.orcidId}} -
-
Affiliation Section
-
- {{affiliation.affiliationSection}} -
-
Organization
-
- {{affiliation.orgName}}: {{affiliation.orgCity}}, {{affiliation.orgRegion}}, {{affiliation.orgCountry}}
- {{affiliation.disambiguationSource}} {{affiliation.disambiguatedOrgId}} -
-
Department Name
-
- {{affiliation.departmentName}} -
-
Role Title
-
- {{affiliation.roleTitle}} -
-
Url
-
- {{affiliation.url}} -
-
Start Date
-
- {{affiliation.startYear!}}-{{affiliation.startMonth}}-{{affiliation.startDay!}} -
-
End Date
-
- {{affiliation.endYear!}}-{{affiliation.endMonth}}-{{affiliation.endDay!}} -
-
External Id
-
- {{affiliation.externalIdType!}} {{affiliation.externalId}} {{affiliation.externalId}} -
-
Created
-
- {{affiliation.created!.toString() | date:'medium'}} -
-
Added To ORCID
-
- {{affiliation.addedToORCID!.toString() | date:'medium'}} -
-
Updated In ORCID
-
- {{affiliation.updatedInORCID!.toString() | date:'medium'}} -
-
Modified
-
- {{affiliation.modified!.toString() | date:'medium'}} by {{affiliation.lastModifiedBy}} -
-
Admin Id
-
- {{ownerId}} -
-
Notification First Sent
-
- {{affiliation.notificationSent.toString() | date:'medium'}} -
-
Notification First Sent
-
- {{affiliation.invitationSent.toString() | date:'medium'}} -
-
Notification Last Sent
-
- {{affiliation.notificationLastSent.toString() | date:'medium'}} -
-
Notification Last Sent
-
- {{affiliation.invitationLastSent.toString() | date:'medium'}} -
-
-
-
-
- +
+
+

Affiliation details

+
+ +
+
+
ID
+
+ {{ affiliation.id }} +
+
Email
+
+ {{ affiliation.email }} +
+
Status
+
+ {{ affiliation.prettyStatus }} +
+
+ Permission link +
+
+ +
+
+ ORCID iD +
+
+ {{ orcidBaseUrl }}/{{ affiliation.orcidId }} +
+
+ Affiliation Section +
+
+ {{ + affiliation.affiliationSection + }} +
+
Organization
+
+ {{ affiliation.orgName }}: {{ affiliation.orgCity }}, {{ affiliation.orgRegion }}, {{ affiliation.orgCountry }}
+ {{ affiliation.disambiguationSource }} {{ affiliation.disambiguatedOrgId }} +
+
+ Department Name +
+
+ {{ affiliation.departmentName }} +
+
+ Role Title +
+
+ {{ affiliation.roleTitle }} +
+
Url
+
+ {{ affiliation.url }} +
+
+ Start Date +
+
+ {{ affiliation.startYear! }}-{{ affiliation.startMonth }}-{{ affiliation.startDay! }} +
+
+ End Date +
+
+ {{ affiliation.endYear! }}-{{ affiliation.endMonth }}-{{ affiliation.endDay! }} +
+
+ External Id +
+
+ {{ affiliation.externalIdType! }} + {{ affiliation.externalId }} + {{ affiliation.externalId }} +
+
Created
+
+ {{ affiliation.created!.toString() | date: 'medium' }} +
+
+ Added To ORCID +
+
+ {{ affiliation.addedToORCID!.toString() | date: 'medium' }} +
+
+ Updated In ORCID +
+
+ {{ affiliation.updatedInORCID!.toString() | date: 'medium' }} +
+
Modified
+
+ {{ affiliation.modified!.toString() | date: 'medium' }} + by {{ affiliation.lastModifiedBy }} +
+
Admin Id
+
+ {{ ownerId }} +
+
+ Notification First Sent +
+
+ {{ affiliation.notificationSent.toString() | date: 'medium' }} +
+
+ Notification First Sent +
+
+ {{ affiliation.invitationSent.toString() | date: 'medium' }} +
+
+ Notification Last Sent +
+
+ {{ affiliation.notificationLastSent.toString() | date: 'medium' }} +
+
+ Notification Last Sent +
+
+ {{ affiliation.invitationLastSent.toString() | date: 'medium' }} +
+
+
+
+
+ - -
-
+ +
+
From 5b91f454e6017a626463ef92566880f48ac9a131 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:41:35 +0200 Subject: [PATCH 4/5] fix invalid date label --- ui/src/app/affiliation/affiliation-update.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/affiliation/affiliation-update.component.html b/ui/src/app/affiliation/affiliation-update.component.html index 15684095f..480ecadc5 100644 --- a/ui/src/app/affiliation/affiliation-update.component.html +++ b/ui/src/app/affiliation/affiliation-update.component.html @@ -406,7 +406,7 @@
- End date cannot be greater than the start date + Start date cannot be greater than the end date
From bfd9a1725ee3820f1e9de2fb2eb20a2f1db31d87 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 19 Mar 2024 16:50:46 +0200 Subject: [PATCH 5/5] fix org validation --- ui/src/app/affiliation/affiliation-update.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/affiliation/affiliation-update.component.html b/ui/src/app/affiliation/affiliation-update.component.html index 15684095f..e876b48f9 100644 --- a/ui/src/app/affiliation/affiliation-update.component.html +++ b/ui/src/app/affiliation/affiliation-update.component.html @@ -221,7 +221,7 @@