Skip to content

Commit

Permalink
Merge branch 'accessibility-settings-7.6' into accessibility-settings…
Browse files Browse the repository at this point in the history
…-main
  • Loading branch information
AAwouters committed Nov 7, 2024
2 parents ed0fcd9 + bb7f0cd commit 9a1373b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/profile-page/profile-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1>{{'profile.title' | translate}}</h1>
<div class="card mb-4">
<div class="card-header">{{'profile.card.accessibility.header' | translate}}</div>
<div class="card-body">
<div class="mb-1">{{'profile.card.accessibility.content' | translate}}</div>
<ds-alert class="mb-4" [type]="'alert-info'">{{'profile.card.accessibility.content' | translate}}</ds-alert>
<a [routerLink]="'/info/accessibility'">{{'profile.card.accessibility.link' | translate}}</a>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/app/profile-page/profile-page.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -116,6 +117,7 @@ describe('ProfilePageComponent', () => {
RouterModule.forRoot([]),
ProfilePageComponent,
VarDirective,
NoopAnimationsModule,
],
providers: [
{ provide: EPersonDataService, useValue: epersonService },
Expand Down
2 changes: 2 additions & 0 deletions src/app/profile-page/profile-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -67,6 +68,7 @@ import { ProfilePageSecurityFormComponent } from './profile-page-security-form/p
NgForOf,
SuggestionsNotificationComponent,
RouterModule,
AlertComponent,
],
standalone: true,
})
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down
2 changes: 2 additions & 0 deletions src/themes/custom/app/profile-page/profile-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -32,6 +33,7 @@ import { VarDirective } from '../../../../app/shared/utils/var.directive';
NgForOf,
SuggestionsNotificationComponent,
RouterModule,
AlertComponent,
],
})
/**
Expand Down

0 comments on commit 9a1373b

Please sign in to comment.