Skip to content

Commit

Permalink
9006-qa-remove-h1-from-orcid-id-badge-on-final-registration-step (#2130)
Browse files Browse the repository at this point in the history
Co-authored-by: Leonardo Mendoza Fernadez <[email protected]>
  • Loading branch information
leomendoza123 and Leonardo Mendoza Fernadez authored Jan 3, 2024
1 parent c372c35 commit 8621647
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { BaseStepDirective } from '../BaseStep'
'../register2.scss-theme.scss',
],
})
export class StepCTComponent extends BaseStepDirective {
export class StepCComponent extends BaseStepDirective {
@Input() loading
@Input() reactivation: ReactivationLocal

Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { StepCTComponent } from './step-c.component'
import { StepCComponent } from './step-c.component'

describe('StepCComponent', () => {
let component: StepCTComponent
let fixture: ComponentFixture<StepCTComponent>
let component: StepCComponent
let fixture: ComponentFixture<StepCComponent>

beforeEach(() => {
TestBed.configureTestingModule({
declarations: [StepCTComponent],
declarations: [StepCComponent],
}).compileComponents()
})

beforeEach(() => {
fixture = TestBed.createComponent(StepCTComponent)
fixture = TestBed.createComponent(StepCComponent)
component = fixture.componentInstance
fixture.detectChanges()
})
Expand Down
9 changes: 4 additions & 5 deletions src/app/register2/components/step-d/step-d.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
alt="orcid logo"
/>
</div>
<ng-container
*ngIf="!reactivation?.isReactivation"
i18n="@@register.create"
>
<h1 class="orc-font-heading-small">Create your ORCID iD</h1>
<ng-container *ngIf="!reactivation?.isReactivation">
<h1 class="orc-font-heading-small" i18n="@@register.create">
Create your ORCID iD
</h1>
</ng-container>
<ng-container
*ngIf="reactivation?.isReactivation"
Expand Down
4 changes: 2 additions & 2 deletions src/app/register2/register.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ import { WarningMessageModule } from '../cdk/warning-message/warning-message.mod
import { BackendErrorComponent } from './components/backend-error/backend-error.component'
import { FormAntiRobotsComponent } from './components/form-anti-robots/form-anti-robots.component'
import { FormPersonalAdditionalEmailsComponent } from './components/form-personal-additional-emails/form-personal-additional-emails.component'
import { StepCTComponent } from './components/step-c-t/step-c.component'
import { Register2Component } from './pages/register/register2.component'
import { StepCComponent } from './components/step-c/step-c.component'

@NgModule({
declarations: [
StepAComponent,
StepBComponent,
StepCTComponent,
StepCComponent,
StepDComponent,
FormPersonalComponent,
FormPasswordComponent,
Expand Down

0 comments on commit 8621647

Please sign in to comment.