Skip to content

Commit

Permalink
updates pagination based on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneBenHMCTS committed Feb 11, 2025
1 parent 97df882 commit 257977b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.1.36-pagination-descriptor-v5",
"version": "7.1.36-pagination-descriptor-v6",
"engines": {
"node": ">=18.19.0"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/ccd-case-ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.1.36-pagination-descriptor-v5",
"version": "7.1.36-pagination-descriptor-v6",
"engines": {
"node": ">=18.19.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<li [class.current]="p.getCurrent() === page.value" [class.ellipsis]="page.label === '...'"
*ngFor="let page of p.pages">
<a tabindex="0" (keyup.enter)="p.setCurrent(page.value)" (click)="p.setCurrent(page.value)"
*ngIf="p.getCurrent() !== page.value" [attr.aria-label]="(page.label === '...') ? 'Load more pages' : 'Page ' + (page.label | number:'') | rpxTranslate">
*ngIf="p.getCurrent() !== page.value" [attr.aria-label]="(page.label === '...') ? 'Change pagination range' : 'Page ' | rpxTranslate + (page.label | number:'')">
<span class="show-for-sr">{{ screenReaderPageLabel | rpxTranslate }} </span>
<span>{{ (page.label === '...') ? page.label : (page.label | number:'') }}</span>
</a>
Expand Down

0 comments on commit 257977b

Please sign in to comment.