Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storefront): BCTHEME-1077 clarify customer order pagination #2241

Merged
merged 1 commit into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- On customer message page, screen reader should say each error [#2234]https://github.com/bigcommerce/cornerstone/pull/2234
- Bump webpack-bundle-analyzer [#2229]https://github.com/bigcommerce/cornerstone/pull/2229
- Make screen reader say all errors then each error while tabbing. [#2230]https://github.com/bigcommerce/cornerstone/pull/2230
- Clarify customer order pagination. [#2241]https://github.com/bigcommerce/cornerstone/pull/2241

## 6.5.0 (06-24-2022)
- Category icons do not appear in Search Form [#2221]https://github.com/bigcommerce/cornerstone/pull/2221
Expand Down
8 changes: 5 additions & 3 deletions templates/components/common/small-paginator.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
{{/if}}

{{#if this.links.length}}
<li class="pagination-item">{{lang 'common.paginator.page_of' current=this.current total=this.links.length}}</li>
{{else}}
<li class="pagination-item">{{lang 'common.paginator.page_of' current=1 total=1}}</li>
{{#each this.links}}
<a class="pagination-link" href="{{this.link}}">
<li class="pagination-item">{{this.number}}</li>
</a>
{{/each}}
{{/if}}

{{#if next}}
Expand Down