From 4291dcbd4db86d17c39b6f1162bdcb72a01f5c18 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Fernadez Date: Wed, 7 Feb 2024 21:32:42 -0600 Subject: [PATCH 1/2] fix/feb-7-batch-fixes --- .../form-current-employment.component.html | 4 +++- .../form-personal/form-personal.component.ts | 11 +++++------ .../components/step-a/step-a.component.html | 13 ++++++++++++- .../register2/components/step-a/step-a.component.ts | 1 + .../components/step-b/step-b.component.html | 13 ++++++++++++- .../register2/components/step-b/step-b.component.ts | 2 ++ .../components/step-c/step-c.component.html | 13 ++++++++++++- .../register2/components/step-c/step-c.component.ts | 1 + .../components/step-d/step-d.component.html | 13 ++++++++++++- .../register2/components/step-d/step-d.component.ts | 2 ++ .../pages/register/register2.component.html | 5 +++++ .../register2/pages/register/register2.component.ts | 9 ++++++++- .../properties/register/register.en.properties | 5 +++-- 13 files changed, 78 insertions(+), 14 deletions(-) diff --git a/src/app/register2/components/form-current-employment/form-current-employment.component.html b/src/app/register2/components/form-current-employment/form-current-employment.component.html index 44c5785088..2d8c251d27 100644 --- a/src/app/register2/components/form-current-employment/form-current-employment.component.html +++ b/src/app/register2/components/form-current-employment/form-current-employment.component.html @@ -21,7 +21,9 @@

Based on your emails we think you are currently affiliated with - TEST. + + {{ autoCompleteDisplayOrganization(organization) }}. -

+

Step 1 of 5 - Names and emails

+

+ Step 1 of 4 - Names and emails +

diff --git a/src/app/register2/components/step-a/step-a.component.ts b/src/app/register2/components/step-a/step-a.component.ts index 40e5870d80..b9a657cde7 100644 --- a/src/app/register2/components/step-a/step-a.component.ts +++ b/src/app/register2/components/step-a/step-a.component.ts @@ -27,6 +27,7 @@ import { BaseStepDirective } from '../BaseStep' export class StepAComponent extends BaseStepDirective implements AfterViewInit { @ViewChild('firstInput') firstInput: ElementRef + @Input() togglzregistration21: boolean @Input() reactivation: ReactivationLocal nextButtonWasClicked: boolean diff --git a/src/app/register2/components/step-b/step-b.component.html b/src/app/register2/components/step-b/step-b.component.html index 169dbafa7a..a4f13e5967 100644 --- a/src/app/register2/components/step-b/step-b.component.html +++ b/src/app/register2/components/step-b/step-b.component.html @@ -21,9 +21,20 @@

-

+

Step 2 of 5 - Password

+

+ Step 2 of 4 - Password +

diff --git a/src/app/register2/components/step-b/step-b.component.ts b/src/app/register2/components/step-b/step-b.component.ts index 4d3549abac..782f7ff963 100644 --- a/src/app/register2/components/step-b/step-b.component.ts +++ b/src/app/register2/components/step-b/step-b.component.ts @@ -15,6 +15,8 @@ import { BaseStepDirective } from '../BaseStep' export class StepBComponent extends BaseStepDirective { @Input() personalData @Input() reactivation: ReactivationLocal + @Input() togglzregistration21: boolean + nextButtonWasClicked = false constructor() { diff --git a/src/app/register2/components/step-c/step-c.component.html b/src/app/register2/components/step-c/step-c.component.html index 644a256f0c..c7772a6951 100644 --- a/src/app/register2/components/step-c/step-c.component.html +++ b/src/app/register2/components/step-c/step-c.component.html @@ -27,9 +27,20 @@

-

+

Step 4 of 5 - Visibility

+

+ Step 3 of 4 - Visibility +

diff --git a/src/app/register2/components/step-c/step-c.component.ts b/src/app/register2/components/step-c/step-c.component.ts index 4060b11ccd..991b0787c3 100644 --- a/src/app/register2/components/step-c/step-c.component.ts +++ b/src/app/register2/components/step-c/step-c.component.ts @@ -15,6 +15,7 @@ import { BaseStepDirective } from '../BaseStep' export class StepCComponent extends BaseStepDirective { @Input() loading @Input() reactivation: ReactivationLocal + @Input() togglzregistration21: boolean constructor() { super() diff --git a/src/app/register2/components/step-d/step-d.component.html b/src/app/register2/components/step-d/step-d.component.html index afbf43998e..01f09eb1f9 100644 --- a/src/app/register2/components/step-d/step-d.component.html +++ b/src/app/register2/components/step-d/step-d.component.html @@ -27,9 +27,20 @@

-

+

Step 5 of 5 - Terms and conditions

+

+ Step 4 of 4 - Terms and conditions +

diff --git a/src/app/register2/components/step-d/step-d.component.ts b/src/app/register2/components/step-d/step-d.component.ts index 4494886392..20cf6ec58f 100644 --- a/src/app/register2/components/step-d/step-d.component.ts +++ b/src/app/register2/components/step-d/step-d.component.ts @@ -15,6 +15,8 @@ import { BaseStepDirective } from '../BaseStep' export class StepDComponent extends BaseStepDirective { @Input() loading @Input() reactivation: ReactivationLocal + @Input() togglzregistration21: boolean + nextButtonWasClicked = false constructor() { diff --git a/src/app/register2/pages/register/register2.component.html b/src/app/register2/pages/register/register2.component.html index 4b753714ef..4c2f56d434 100644 --- a/src/app/register2/pages/register/register2.component.html +++ b/src/app/register2/pages/register/register2.component.html @@ -18,6 +18,7 @@ [(formGroup)]="FormGroupStepA" [reactivation]="reactivation" #stepComponentA + [togglzregistration21]="registration21" > @@ -29,9 +30,11 @@ [(formGroup)]="FormGroupStepB" [personalData]="personalData" [reactivation]="reactivation" + [togglzregistration21]="registration21" > @@ -52,6 +55,7 @@ [(formGroup)]="FormGroupStepC" [loading]="loading" [reactivation]="reactivation" + [togglzregistration21]="registration21" > @@ -59,6 +63,7 @@ >Visibility and terms { this.platform = platform @@ -92,6 +96,9 @@ export class Register2Component implements OnInit, AfterViewInit { }) } ngOnInit() { + this._togglz.getStateOf('REGISTRATION_2_0').subscribe((value)=> { + this.registration21 = value + }) this._register.getRegisterForm().subscribe() this.FormGroupStepA = this._formBuilder.group({ diff --git a/src/locale/properties/register/register.en.properties b/src/locale/properties/register/register.en.properties index 0131543c07..6e3ad94204 100644 --- a/src/locale/properties/register/register.en.properties +++ b/src/locale/properties/register/register.en.properties @@ -157,11 +157,12 @@ register.onlyPeopleAndOrganization=Only people and organizations you’ve given register.itemsArePrivateAndOnly=Items are private and only visible to you register.step1.2=Step 1 of 4 - Names and emails register.step2.2=Step 2 of 4 - Password +register.step3.2=Step 3 of 4 - Visibility +register.step4.2=Step 4 of 4 - Terms and conditions register.step2.3=Step 2 of 5 - Password -register.step2.4=Step 4 of 4 - Terms and conditions register.step1.3=Step 1 of 5 - Names and emails -register.step3.3=Step 3 of 5 - Current employment register.step4.3=Step 4 of 5 - Visibility +register.step3.3=Step 3 of 5 - Current employment register.step5.3=Step 5 of 5 - Terms and conditions register.nextStep=Next Step register.cancelRegistration=Cancel registration From 0ba015fab34e9dd8f5e3e633ac896197c939a9b4 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Fernadez Date: Wed, 7 Feb 2024 21:35:28 -0600 Subject: [PATCH 2/2] fix/feb-7-batch-fixes --- .../side-bar/side-bar/side-bar.component.html | 5 +- .../record-header.component.html | 132 +++++++++++++----- .../record-header.component.scss | 5 +- .../record-header.component.spec.ts | 40 +++--- .../record-header/record-header.component.ts | 55 ++++---- .../record-info/record-info.component.html | 77 +++++++--- .../record-info/record-info.component.spec.ts | 37 +++-- .../record-info/record-info.component.ts | 19 +-- .../components/top-bar/top-bar.component.html | 6 +- .../components/top-bar/top-bar.component.ts | 9 +- .../pages/my-orcid/my-orcid.component.html | 25 +++- src/app/record/record.module.ts | 4 +- .../form-current-employment.component.html | 4 +- .../form-personal/form-personal.component.ts | 5 +- .../pages/register/register2.component.ts | 3 +- src/app/shared/utils/names.util.ts | 24 ++-- 16 files changed, 287 insertions(+), 163 deletions(-) diff --git a/src/app/cdk/side-bar/side-bar/side-bar.component.html b/src/app/cdk/side-bar/side-bar/side-bar.component.html index e77d2b2d60..a79381cc7e 100644 --- a/src/app/cdk/side-bar/side-bar/side-bar.component.html +++ b/src/app/cdk/side-bar/side-bar/side-bar.component.html @@ -6,8 +6,9 @@ >

+ [ngClass]="{ 'sr-only': isPublicRecord ? !newRecordHeaderTogglz : true }" + i18n="@@shared.personalInformation" + > Personal information

diff --git a/src/app/record/components/record-header/record-header.component.html b/src/app/record/components/record-header/record-header.component.html index a12397cf21..2f3f8e392b 100644 --- a/src/app/record/components/record-header/record-header.component.html +++ b/src/app/record/components/record-header/record-header.component.html @@ -1,46 +1,77 @@ - -
+ +
-
+
-

+ }" + > {{ creditName }} - {{ givenNames + ' ' }} + {{ + givenNames + ' ' + }} {{ familyName }}

-
+

{{ otherNames }}

-

- This record has been deactivated +

+ This record has been deactivated This record is locked + *ngIf=" + userInfo.IS_LOCKED === 'true' && + !(userInfo.IS_DEACTIVATED === 'true' && !userInfo.PRIMARY_RECORD) + " + i18n="@@summary.recordIsLocked" + >This record is locked - This record has been - deprecated + This record has been deprecated

-
-

- No public information available. +
+

+ No public information available.

@@ -48,28 +79,55 @@
-
+ }" + dir="ltr" + >
- +
-

{{ orcidId }}

-
+ {{ orcidId }} +

+
- -
diff --git a/src/app/record/components/record-header/record-header.component.scss b/src/app/record/components/record-header/record-header.component.scss index 53512d7485..0bf67d74ea 100644 --- a/src/app/record/components/record-header/record-header.component.scss +++ b/src/app/record/components/record-header/record-header.component.scss @@ -8,7 +8,8 @@ gap: 16px; word-break: break-all; - h1,p { + h1, + p { margin: 0; } @@ -46,7 +47,7 @@ align-items: center; .col { - padding: 0 !important + padding: 0 !important; } .orcid-logo { diff --git a/src/app/record/components/record-header/record-header.component.spec.ts b/src/app/record/components/record-header/record-header.component.spec.ts index 60ca1a17ee..41515c415a 100644 --- a/src/app/record/components/record-header/record-header.component.spec.ts +++ b/src/app/record/components/record-header/record-header.component.spec.ts @@ -1,20 +1,20 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed } from '@angular/core/testing' -import { RecordHeaderComponent } from './record-header.component'; -import { HttpClientTestingModule } from '@angular/common/http/testing'; -import { WINDOW_PROVIDERS } from 'src/app/cdk/window'; -import { PlatformInfoService } from 'src/app/cdk/platform-info'; -import { ErrorHandlerService } from 'src/app/core/error-handler/error-handler.service'; -import { SnackbarService } from 'src/app/cdk/snackbar/snackbar.service'; +import { RecordHeaderComponent } from './record-header.component' +import { HttpClientTestingModule } from '@angular/common/http/testing' +import { WINDOW_PROVIDERS } from 'src/app/cdk/window' +import { PlatformInfoService } from 'src/app/cdk/platform-info' +import { ErrorHandlerService } from 'src/app/core/error-handler/error-handler.service' +import { SnackbarService } from 'src/app/cdk/snackbar/snackbar.service' import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar' import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog' -import { Overlay } from '@angular/cdk/overlay'; -import { RouterTestingModule } from '@angular/router/testing'; -import { RecordService } from 'src/app/core/record/record.service'; +import { Overlay } from '@angular/cdk/overlay' +import { RouterTestingModule } from '@angular/router/testing' +import { RecordService } from 'src/app/core/record/record.service' describe('RecordHeaderComponent', () => { - let component: RecordHeaderComponent; - let fixture: ComponentFixture; + let component: RecordHeaderComponent + let fixture: ComponentFixture beforeEach(async () => { await TestBed.configureTestingModule({ @@ -22,7 +22,7 @@ describe('RecordHeaderComponent', () => { declarations: [RecordHeaderComponent], providers: [ WINDOW_PROVIDERS, - RecordService , + RecordService, PlatformInfoService, ErrorHandlerService, SnackbarService, @@ -34,12 +34,12 @@ describe('RecordHeaderComponent', () => { }) beforeEach(() => { - fixture = TestBed.createComponent(RecordHeaderComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); + fixture = TestBed.createComponent(RecordHeaderComponent) + component = fixture.componentInstance + fixture.detectChanges() + }) it('should create', () => { - expect(component).toBeTruthy(); - }); -}); + expect(component).toBeTruthy() + }) +}) diff --git a/src/app/record/components/record-header/record-header.component.ts b/src/app/record/components/record-header/record-header.component.ts index f53f1fec9d..056e9b6c92 100644 --- a/src/app/record/components/record-header/record-header.component.ts +++ b/src/app/record/components/record-header/record-header.component.ts @@ -1,23 +1,23 @@ -import { Component, Inject, Input, OnInit } from '@angular/core'; -import { isEmpty } from 'lodash'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; -import { PlatformInfo, PlatformInfoService } from 'src/app/cdk/platform-info'; -import { WINDOW } from 'src/app/cdk/window'; -import { UserService } from 'src/app/core'; -import { RecordService } from 'src/app/core/record/record.service'; -import { NamesUtil } from 'src/app/shared/utils/names.util'; -import { Assertion, UserInfo } from 'src/app/types'; -import { UserRecord } from 'src/app/types/record.local'; -import { environment } from 'src/environments/environment'; +import { Component, Inject, Input, OnInit } from '@angular/core' +import { isEmpty } from 'lodash' +import { Subject } from 'rxjs' +import { takeUntil } from 'rxjs/operators' +import { PlatformInfo, PlatformInfoService } from 'src/app/cdk/platform-info' +import { WINDOW } from 'src/app/cdk/window' +import { UserService } from 'src/app/core' +import { RecordService } from 'src/app/core/record/record.service' +import { NamesUtil } from 'src/app/shared/utils/names.util' +import { Assertion, UserInfo } from 'src/app/types' +import { UserRecord } from 'src/app/types/record.local' +import { environment } from 'src/environments/environment' @Component({ selector: 'app-record-header', templateUrl: './record-header.component.html', styleUrls: [ './record-header.component.scss', - './record-header.component.scss-theme.scss' - ] + './record-header.component.scss-theme.scss', + ], }) export class RecordHeaderComponent implements OnInit { $destroy: Subject = new Subject() @@ -50,18 +50,18 @@ export class RecordHeaderComponent implements OnInit { @Inject(WINDOW) private window: Window, private _platform: PlatformInfoService, private _user: UserService, - private _record: RecordService, - ) { } + private _record: RecordService + ) {} ngOnInit(): void { this.orcidId = 'https:' + environment.BASE_URL + this.isPublicRecord this._platform - .get() - .pipe(takeUntil(this.$destroy)) - .subscribe((data) => { - this.platform = data - }) + .get() + .pipe(takeUntil(this.$destroy)) + .subscribe((data) => { + this.platform = data + }) this._record .getRecord({ @@ -77,7 +77,10 @@ export class RecordHeaderComponent implements OnInit { this.givenNames = NamesUtil.getGivenNames(this.userRecord) this.familyName = NamesUtil.getFamilyName(this.userRecord) this.creditName = NamesUtil.getCreditName(this.userRecord) - this.ariaLabelName = NamesUtil.getAriaLabelName(this.userRecord, this.ariaLabelName) + this.ariaLabelName = NamesUtil.getAriaLabelName( + this.userRecord, + this.ariaLabelName + ) } else { if (this.affiliations > 0) { this.creditName = this.privateName @@ -85,15 +88,15 @@ export class RecordHeaderComponent implements OnInit { } if (!isEmpty(this.userRecord.otherNames?.otherNames)) { - this.otherNames = NamesUtil.getOtherNamesUnique(userRecord.otherNames?.otherNames) + this.otherNames = NamesUtil.getOtherNamesUnique( + userRecord.otherNames?.otherNames + ) } }) } clipboard() { - this.window.navigator.clipboard.writeText( - this.orcidId - ) + this.window.navigator.clipboard.writeText(this.orcidId) } printRecord() { diff --git a/src/app/record/components/record-info/record-info.component.html b/src/app/record/components/record-info/record-info.component.html index 87612bd5e6..3bf99c65e8 100644 --- a/src/app/record/components/record-info/record-info.component.html +++ b/src/app/record/components/record-info/record-info.component.html @@ -1,35 +1,56 @@
- +

We lock records when they violate conditions of our - terms of - service. + terms of service.

If you feel this record has been locked in error please - contact - ORCID - support for further assistance. + contact ORCID support for further assistance.

- +

- When an ORCID record is deactivated all information in the record is deleted. Deactivated records are not - shown - in registry searches. + When an ORCID record is deactivated all information in the record is + deleted. Deactivated records are not shown in registry searches.

- Find - out more about reactivating an ORCID account + Find out more about reactivating an ORCID account

@@ -37,30 +58,40 @@

- A deprecated record is a duplicate or unwanted ORCID record that has been merged with another owned by the - same - person. + A deprecated record is a duplicate or unwanted ORCID record that has + been merged with another owned by the same person.

- Find out more about removing additional or duplicate ORCID records + Find out more about removing additional or duplicate ORCID records

- +

- No public information available. + No public information available.

- The record owner may not have added information to their record or the visibility for items on their record may be to Trusted parties or Only me. + The record owner may not have added information to their record or the + visibility for items on their record may be to Trusted parties or Only + me.

- Find out more about visibility settings in ORCID + Find out more about visibility settings in ORCID

diff --git a/src/app/record/components/record-info/record-info.component.spec.ts b/src/app/record/components/record-info/record-info.component.spec.ts index 9ed8462152..3a330dd48f 100644 --- a/src/app/record/components/record-info/record-info.component.spec.ts +++ b/src/app/record/components/record-info/record-info.component.spec.ts @@ -1,19 +1,19 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed } from '@angular/core/testing' -import { RecordInfoComponent } from './record-info.component'; -import { HttpClientTestingModule } from '@angular/common/http/testing'; -import { RouterTestingModule } from '@angular/router/testing'; -import { WINDOW_PROVIDERS } from 'src/app/cdk/window'; -import { PlatformInfoService } from 'src/app/cdk/platform-info'; -import { ErrorHandlerService } from 'src/app/core/error-handler/error-handler.service'; -import { SnackbarService } from 'src/app/cdk/snackbar/snackbar.service'; +import { RecordInfoComponent } from './record-info.component' +import { HttpClientTestingModule } from '@angular/common/http/testing' +import { RouterTestingModule } from '@angular/router/testing' +import { WINDOW_PROVIDERS } from 'src/app/cdk/window' +import { PlatformInfoService } from 'src/app/cdk/platform-info' +import { ErrorHandlerService } from 'src/app/core/error-handler/error-handler.service' +import { SnackbarService } from 'src/app/cdk/snackbar/snackbar.service' import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar' import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog' -import { Overlay } from '@angular/cdk/overlay'; +import { Overlay } from '@angular/cdk/overlay' describe('RecordInfoComponent', () => { - let component: RecordInfoComponent; - let fixture: ComponentFixture; + let component: RecordInfoComponent + let fixture: ComponentFixture beforeEach(async () => { await TestBed.configureTestingModule({ @@ -32,13 +32,12 @@ describe('RecordInfoComponent', () => { }) beforeEach(() => { - fixture = TestBed.createComponent(RecordInfoComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - + fixture = TestBed.createComponent(RecordInfoComponent) + component = fixture.componentInstance + fixture.detectChanges() + }) it('should create', () => { - expect(component).toBeTruthy(); - }); -}); + expect(component).toBeTruthy() + }) +}) diff --git a/src/app/record/components/record-info/record-info.component.ts b/src/app/record/components/record-info/record-info.component.ts index 60d4008553..93b51cc3f2 100644 --- a/src/app/record/components/record-info/record-info.component.ts +++ b/src/app/record/components/record-info/record-info.component.ts @@ -1,14 +1,14 @@ -import { Component, Input, OnInit } from '@angular/core'; -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; -import { RecordService } from 'src/app/core/record/record.service'; -import { NamesUtil } from 'src/app/shared/utils/names.util'; -import { UserInfo } from 'src/app/types'; +import { Component, Input, OnInit } from '@angular/core' +import { Subject } from 'rxjs' +import { takeUntil } from 'rxjs/operators' +import { RecordService } from 'src/app/core/record/record.service' +import { NamesUtil } from 'src/app/shared/utils/names.util' +import { UserInfo } from 'src/app/types' @Component({ selector: 'app-record-info', templateUrl: './record-info.component.html', - styleUrls: ['./record-info.component.scss'] + styleUrls: ['./record-info.component.scss'], }) export class RecordInfoComponent implements OnInit { $destroy: Subject = new Subject() @@ -29,7 +29,10 @@ export class RecordInfoComponent implements OnInit { .pipe(takeUntil(this.$destroy)) .subscribe((userRecord) => { this.userInfo = userRecord?.userInfo - this.isNamePublic = NamesUtil.isNamePublicAndAffiliations(userRecord, this.affiliations) + this.isNamePublic = NamesUtil.isNamePublicAndAffiliations( + userRecord, + this.affiliations + ) }) } } diff --git a/src/app/record/components/top-bar/top-bar.component.html b/src/app/record/components/top-bar/top-bar.component.html index 793e5b5d5b..98c4e2a3ee 100644 --- a/src/app/record/components/top-bar/top-bar.component.html +++ b/src/app/record/components/top-bar/top-bar.component.html @@ -151,7 +151,9 @@

[id]="'names'" role="region" [attr.aria-label]="regionNames" - *ngIf="!newRecordHeaderTogglz && (userRecord?.names || userRecord?.otherNames)" + *ngIf=" + !newRecordHeaderTogglz && (userRecord?.names || userRecord?.otherNames) + " >
@@ -280,7 +282,7 @@

>

Biography diff --git a/src/app/record/components/top-bar/top-bar.component.ts b/src/app/record/components/top-bar/top-bar.component.ts index eac4c347e6..b31def8bb7 100644 --- a/src/app/record/components/top-bar/top-bar.component.ts +++ b/src/app/record/components/top-bar/top-bar.component.ts @@ -97,11 +97,16 @@ export class TopBarComponent implements OnInit, OnDestroy { this.givenNames = NamesUtil.getGivenNames(this.userRecord) this.familyName = NamesUtil.getFamilyName(this.userRecord) this.creditName = NamesUtil.getCreditName(this.userRecord) - this.ariaLabelName = NamesUtil.getAriaLabelName(this.userRecord, this.ariaLabelName) + this.ariaLabelName = NamesUtil.getAriaLabelName( + this.userRecord, + this.ariaLabelName + ) } if (!isEmpty(this.userRecord.otherNames?.otherNames)) { - this.otherNames = NamesUtil.getOtherNamesUnique(userRecord.otherNames?.otherNames) + this.otherNames = NamesUtil.getOtherNamesUnique( + userRecord.otherNames?.otherNames + ) } }) } diff --git a/src/app/record/pages/my-orcid/my-orcid.component.html b/src/app/record/pages/my-orcid/my-orcid.component.html index 8b9fd7639f..741c0bbf76 100644 --- a/src/app/record/pages/my-orcid/my-orcid.component.html +++ b/src/app/record/pages/my-orcid/my-orcid.component.html @@ -11,10 +11,21 @@ [affiliations]="affiliations" > -
+
error
diff --git a/src/app/record/record.module.ts b/src/app/record/record.module.ts index a2c5b08684..8e1479b942 100644 --- a/src/app/record/record.module.ts +++ b/src/app/record/record.module.ts @@ -77,8 +77,8 @@ import { TopBarMyPublicRecordPreviewModule } from '../cdk/top-bar-my-public-reco import { WorkContributorRolesComponent } from './components/work-contributor-role/work-contributor-roles.component' import { WorkContributorsComponent } from './components/work-contributors/work-contributors.component' import { VisibilitySelectorModule } from '../cdk/visibility-selector/visibility-selector.module' -import { TopBarVerificationEmailModule } from '../cdk/top-bar-verification-email/top-bar-verification-email.module'; -import { RecordHeaderComponent } from './components/record-header/record-header.component'; +import { TopBarVerificationEmailModule } from '../cdk/top-bar-verification-email/top-bar-verification-email.module' +import { RecordHeaderComponent } from './components/record-header/record-header.component' import { RecordInfoComponent } from './components/record-info/record-info.component' @NgModule({ diff --git a/src/app/register2/components/form-current-employment/form-current-employment.component.html b/src/app/register2/components/form-current-employment/form-current-employment.component.html index 2d8c251d27..f8b7927bb9 100644 --- a/src/app/register2/components/form-current-employment/form-current-employment.component.html +++ b/src/app/register2/components/form-current-employment/form-current-employment.component.html @@ -21,9 +21,7 @@

Based on your emails we think you are currently affiliated with - - {{ autoCompleteDisplayOrganization(organization) }}. + {{ autoCompleteDisplayOrganization(organization) }}.