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
…-8_x
  • Loading branch information
AAwouters committed Nov 7, 2024
2 parents 6319c9b + bb7f0cd commit 59eda8b
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 @@ -3894,7 +3894,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 @@ -12,6 +12,7 @@ import { ProfilePageComponent as BaseComponent } from '../../../../app/profile-p
import { ThemedProfilePageMetadataFormComponent } from '../../../../app/profile-page/profile-page-metadata-form/themed-profile-page-metadata-form.component';
import { ProfilePageResearcherFormComponent } from '../../../../app/profile-page/profile-page-researcher-form/profile-page-researcher-form.component';
import { ProfilePageSecurityFormComponent } from '../../../../app/profile-page/profile-page-security-form/profile-page-security-form.component';
import { AlertComponent } from '../../../../app/shared/alert/alert.component';
import { VarDirective } from '../../../../app/shared/utils/var.directive';

@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 59eda8b

Please sign in to comment.