diff --git a/src/app/profile-page/profile-page.component.html b/src/app/profile-page/profile-page.component.html index 6b0dd8e6d60..fe91cf73d7d 100644 --- a/src/app/profile-page/profile-page.component.html +++ b/src/app/profile-page/profile-page.component.html @@ -36,7 +36,7 @@

{{'profile.title' | translate}}

{{'profile.card.accessibility.header' | translate}}
-
{{'profile.card.accessibility.content' | translate}}
+ {{'profile.card.accessibility.content' | translate}} {{'profile.card.accessibility.link' | translate}}
diff --git a/src/app/profile-page/profile-page.component.spec.ts b/src/app/profile-page/profile-page.component.spec.ts index 810cf63389e..47c9151b472 100644 --- a/src/app/profile-page/profile-page.component.spec.ts +++ b/src/app/profile-page/profile-page.component.spec.ts @@ -5,6 +5,7 @@ import { waitForAsync, } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; +import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { RouterModule } from '@angular/router'; import { StoreModule } from '@ngrx/store'; import { provideMockStore } from '@ngrx/store/testing'; @@ -116,6 +117,7 @@ describe('ProfilePageComponent', () => { RouterModule.forRoot([]), ProfilePageComponent, VarDirective, + NoopAnimationsModule, ], providers: [ { provide: EPersonDataService, useValue: epersonService }, diff --git a/src/app/profile-page/profile-page.component.ts b/src/app/profile-page/profile-page.component.ts index 673b9856985..2e27fc43bb9 100644 --- a/src/app/profile-page/profile-page.component.ts +++ b/src/app/profile-page/profile-page.component.ts @@ -41,6 +41,7 @@ import { getRemoteDataPayload, } from '../core/shared/operators'; import { SuggestionsNotificationComponent } from '../notifications/suggestions-notification/suggestions-notification.component'; +import { AlertComponent } from '../shared/alert/alert.component'; import { hasValue, isNotEmpty, @@ -67,6 +68,7 @@ import { ProfilePageSecurityFormComponent } from './profile-page-security-form/p NgForOf, SuggestionsNotificationComponent, RouterModule, + AlertComponent, ], standalone: true, }) diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5 index e63a553c32b..5dbeb4b3be4 100644 --- a/src/assets/i18n/en.json5 +++ b/src/assets/i18n/en.json5 @@ -3896,7 +3896,7 @@ "profile.card.accessibility.header": "Accessibility", - "profile.card.accessibility.link": "Accessibility Settings Page", + "profile.card.accessibility.link": "Go to Accessibility Settings Page", "profile.card.identify": "Identify", diff --git a/src/themes/custom/app/profile-page/profile-page.component.ts b/src/themes/custom/app/profile-page/profile-page.component.ts index 687cf9bc9d5..3b09866aa37 100644 --- a/src/themes/custom/app/profile-page/profile-page.component.ts +++ b/src/themes/custom/app/profile-page/profile-page.component.ts @@ -6,6 +6,7 @@ import { import { Component } from '@angular/core'; import { RouterModule } from '@angular/router'; import { TranslateModule } from '@ngx-translate/core'; +import { AlertComponent } from 'src/app/shared/alert/alert.component'; import { SuggestionsNotificationComponent } from '../../../../app/notifications/suggestions-notification/suggestions-notification.component'; import { ProfilePageComponent as BaseComponent } from '../../../../app/profile-page/profile-page.component'; @@ -32,6 +33,7 @@ import { VarDirective } from '../../../../app/shared/utils/var.directive'; NgForOf, SuggestionsNotificationComponent, RouterModule, + AlertComponent, ], }) /**