diff --git a/src/app/actions/violationActions.ts b/src/app/actions/violationActions.ts
index 17bd09b..343b574 100644
--- a/src/app/actions/violationActions.ts
+++ b/src/app/actions/violationActions.ts
@@ -211,7 +211,6 @@ export async function fetchViolationAnalyticStatistic(group: 'domain' | 'tld') {
export async function fetchViolationStatistic(id: string) {
const token = await getSessionData('token');
- console.log(`fileId => ${id}`)
try {
const response = await fetch(`${API_BASE_URL}/api/v1/data`, {
@@ -232,7 +231,6 @@ export async function fetchViolationStatistic(id: string) {
if (response.ok) {
let parsed = await response.json();
- console.log(parsed);
if (parsed?.message_body) {
return parsed?.message_body;
diff --git a/src/app/components/tanstak-table/TanstakTable.tsx b/src/app/components/tanstak-table/TanstakTable.tsx
index a67cdff..2cfb77d 100644
--- a/src/app/components/tanstak-table/TanstakTable.tsx
+++ b/src/app/components/tanstak-table/TanstakTable.tsx
@@ -1014,7 +1014,7 @@ export default function TanstakFilesTable({ fileType, showFileLink }: { fileType
{t('page')}{' '}
{pagination.pageIndex + 1} {t('out-of')} {totalPages || 1}
-
+ | {t('total-files')}: {totalItems}
diff --git a/src/app/ui/file-page/violation-table/file-page-violations-list.tsx b/src/app/ui/file-page/violation-table/file-page-violations-list.tsx
index ae93058..599d8d3 100644
--- a/src/app/ui/file-page/violation-table/file-page-violations-list.tsx
+++ b/src/app/ui/file-page/violation-table/file-page-violations-list.tsx
@@ -232,7 +232,7 @@ export default function FilePageViolationsList({
className="sources-list-pagination"
>
- {t('total-violations')}: {fileViolations?.total_elements} | {t('page')} {fileViolations?.current_page} {t('out-of')} {fileViolations?.total_pages}
+ {t('page')} {fileViolations?.current_page + 1} {t('out-of')} {fileViolations?.total_pages} | {t('total-violations')}: {fileViolations?.total_elements}
{fileViolations?.total_pages > 1 && (
diff --git a/src/app/ui/tracking-page/tracking-history-view.tsx b/src/app/ui/tracking-page/tracking-history-view.tsx
index 2c5c4c7..432e014 100644
--- a/src/app/ui/tracking-page/tracking-history-view.tsx
+++ b/src/app/ui/tracking-page/tracking-history-view.tsx
@@ -47,6 +47,7 @@ export function TrackingHistoryView() {
refetch
} = useHistoryView(pagination.pageIndex, pagination.pageSize, locale, getSortParams.sortOrder, getSortParams.sortBy);
+ const totalElements = apiResponse?.totalElements || 0
const tableData = apiResponse?.history || [];
const totalPages = apiResponse?.totalPages || 0;
@@ -381,7 +382,7 @@ export function TrackingHistoryView() {
{t('page')}{' '}
{pagination.pageIndex + 1} {t('out-of')} {totalPages || 1}
-
+ | {t('total-document-openings')}: {totalElements}
diff --git a/src/app/ui/violations/tables/violations-my-claims-table.tsx b/src/app/ui/violations/tables/violations-my-claims-table.tsx
index d8da83b..204dae5 100644
--- a/src/app/ui/violations/tables/violations-my-claims-table.tsx
+++ b/src/app/ui/violations/tables/violations-my-claims-table.tsx
@@ -270,7 +270,7 @@ export function ViolationsMyClaimsTable() {
{t('page')}{' '}
{pagination.pageIndex + 1} {t('out-of')} {totalPages || 1}
-
+ | {t('total-claims')}: {totalItems}
diff --git a/src/app/ui/violations/tables/violations-my-complaints-table.tsx b/src/app/ui/violations/tables/violations-my-complaints-table.tsx
index b5f3a47..ac9488b 100644
--- a/src/app/ui/violations/tables/violations-my-complaints-table.tsx
+++ b/src/app/ui/violations/tables/violations-my-complaints-table.tsx
@@ -270,7 +270,7 @@ export function ViolationsMyComplaintsTable() {
{t('page')}{' '}
{pagination.pageIndex + 1} {t('out-of')} {totalPages || 1}
-
+ | {t('total-complaints')}: {totalItems}
diff --git a/src/app/ui/violations/violations-table.tsx b/src/app/ui/violations/violations-table.tsx
index 4bd41eb..a322976 100644
--- a/src/app/ui/violations/violations-table.tsx
+++ b/src/app/ui/violations/violations-table.tsx
@@ -477,7 +477,7 @@ export default function ViolationsTable() {
{t('page')}{' '}
{table.getState().pagination.pageIndex + 1} {t('out-of')} {violationData?.totalPages || 1}
-
+ | {t('total-matches')}: {violationData?.totalElements}
diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json
index 97dd619..dd7cc1c 100644
--- a/src/i18n/messages/en.json
+++ b/src/i18n/messages/en.json
@@ -474,7 +474,11 @@
"history-of-opened": "History of opened",
"not-defined": "Not defined",
"not-defined-city": "The city is not defined",
- "not-defined-country": "Country not defined"
+ "not-defined-country": "Country not defined",
+ "total-document-openings": "Total document openings",
+ "total-matches": "Total matches",
+ "total-complaints": "Total complaints",
+ "total-claims": "Total claims"
},
"Login-register-form": {
"and": "and",
diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.json
index aabdde9..229d078 100644
--- a/src/i18n/messages/ru.json
+++ b/src/i18n/messages/ru.json
@@ -474,7 +474,11 @@
"history-of-opened": "История открытий",
"not-defined": "Не определено",
"not-defined-city": "Город не определен",
- "not-defined-country": "Страна не определена"
+ "not-defined-country": "Страна не определена",
+ "total-document-openings": "Всего открытий документов",
+ "total-matches": "Всего совпадений",
+ "total-complaints": "Всего нарушений",
+ "total-claims": "Всего претензий"
},
"Login-register-form": {
"and": "и",