mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
singular form for counter
This commit is contained in:
parent
c2165fa60b
commit
db985cb3d7
1 changed files with 2 additions and 2 deletions
|
@ -1017,7 +1017,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
// pagination should only be displayed if there are more than one pages of results
|
||||
paginationContainer.classList.toggle('display-none', numPages <= 1);
|
||||
|
||||
counterContainer.innerHTML = `${totalItems} Domains`;
|
||||
counterContainer.innerHTML = `${totalItems} Domain${totalItems > 1 ? 's' : ''}`;
|
||||
|
||||
if (hasPrevious) {
|
||||
const prevPageItem = document.createElement('li');
|
||||
|
@ -1203,7 +1203,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
// pagination should only be displayed if there are more than one pages of results
|
||||
paginationContainer.classList.toggle('display-none', numPages <= 1);
|
||||
|
||||
counterContainer.innerHTML = `${totalItems} Domain requests`;
|
||||
counterContainer.innerHTML = `${totalItems} Domain request${totalItems > 1 ? 's' : ''}`;
|
||||
|
||||
if (hasPrevious) {
|
||||
const prevPageItem = document.createElement('li');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue