Skip to content

Commit

Permalink
119602: Add link to AccessibilitySettings on profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
AAwouters committed Nov 6, 2024
1 parent 37455a8 commit 0451559
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/profile-page/profile-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,18 @@ <h3 class="mb-4">{{'profile.head' | translate}}</h3>
></ds-profile-page-security-form>
</div>
</div>
<div class="col-12 text-right pr-0">
<div class="col-12 text-right pr-0 mb-4">
<button class="btn btn-primary" (click)="updateProfile()"><i class="fas fa-edit"></i> {{'profile.form.submit' | translate}}</button>
</div>

<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>
<a [routerLink]="'/info/accessibility'">{{'profile.card.accessibility.link' | translate}}</a>
</div>
</div>

<ng-container *ngVar="(groupsRD$ | async)?.payload?.page as groups">
<div *ngIf="groups?.length > 0">
<h3 class="mt-4">{{'profile.groups.head' | translate}}</h3>
Expand Down
6 changes: 6 additions & 0 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3274,6 +3274,12 @@

"profile.breadcrumbs": "Update Profile",

"profile.card.accessibility.content": "Accessibility settings can be configured on the accessibility settings page.",

"profile.card.accessibility.header": "Accessibility",

"profile.card.accessibility.link": "Accessibility Settings Page",

"profile.card.identify": "Identify",

"profile.card.security": "Security",
Expand Down

0 comments on commit 0451559

Please sign in to comment.