From 8cf72c1633cde4e338b7501e4f4217dca414a6f5 Mon Sep 17 00:00:00 2001 From: Abderrahmane Smimite Date: Fri, 19 Jul 2024 11:47:42 +0200 Subject: [PATCH] Display evidences size --- frontend/messages/ar.json | 3 ++- frontend/messages/de.json | 3 ++- frontend/messages/en.json | 3 ++- frontend/messages/es.json | 3 ++- frontend/messages/fr.json | 3 ++- frontend/messages/it.json | 3 ++- frontend/messages/nl.json | 3 ++- frontend/messages/pl.json | 3 ++- frontend/messages/pt.json | 3 ++- frontend/src/lib/utils/table.ts | 4 ++-- 10 files changed, 20 insertions(+), 11 deletions(-) diff --git a/frontend/messages/ar.json b/frontend/messages/ar.json index 199f25b6c..72dacc5ce 100644 --- a/frontend/messages/ar.json +++ b/frontend/messages/ar.json @@ -613,5 +613,6 @@ "ssoSettings": "إعدادات تسجيل الدخول الموحد", "ssoSettingsDescription": "قم بتكوين إعدادات تسجيل الدخول الموحد هنا.", "sso": "SSO", - "isSso": "هل هو SSO" + "isSso": "هل هو SSO", + "size": "الحجم" } diff --git a/frontend/messages/de.json b/frontend/messages/de.json index e00a4b722..e632d37ef 100644 --- a/frontend/messages/de.json +++ b/frontend/messages/de.json @@ -613,5 +613,6 @@ "progress": "Fortschreiten", "back": "Zurückkehren", "duplicate": "Duplikat", - "duplicateRiskAssessment": "Duplizieren Sie die Risikobewertung" + "duplicateRiskAssessment": "Duplizieren Sie die Risikobewertung", + "size": "Größe" } diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 1ee895b2b..5aba7f719 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -654,5 +654,6 @@ "progress": "Progress", "back": "Back", "duplicate": "Duplicate", - "duplicateRiskAssessment": "Duplicate the risk assessment" + "duplicateRiskAssessment": "Duplicate the risk assessment", + "size": "Size" } diff --git a/frontend/messages/es.json b/frontend/messages/es.json index 8d9416e11..ff775aa31 100644 --- a/frontend/messages/es.json +++ b/frontend/messages/es.json @@ -613,5 +613,6 @@ "progress": "Progresión", "back": "Devolver", "duplicate": "Duplicar", - "duplicateRiskAssessment": "Duplicar la evaluación de riesgo" + "duplicateRiskAssessment": "Duplicar la evaluación de riesgo", + "size": "Tamaño" } diff --git a/frontend/messages/fr.json b/frontend/messages/fr.json index 6827e998f..c1d4117f9 100644 --- a/frontend/messages/fr.json +++ b/frontend/messages/fr.json @@ -613,5 +613,6 @@ "progress": "Progression", "back": "Retour", "duplicate": "Dupliquer", - "duplicateRiskAssessment": "Dupliquer l’évaluation de risque" + "duplicateRiskAssessment": "Dupliquer l’évaluation de risque", + "size": "Taille" } diff --git a/frontend/messages/it.json b/frontend/messages/it.json index 0c55986b4..1acae7a19 100644 --- a/frontend/messages/it.json +++ b/frontend/messages/it.json @@ -613,5 +613,6 @@ "progress": "Progressione", "back": "Ritorno", "duplicate": "Duplicare", - "duplicateRiskAssessment": "Duplicare la valutazione del rischio" + "duplicateRiskAssessment": "Duplicare la valutazione del rischio", + "size": "Dimensione" } diff --git a/frontend/messages/nl.json b/frontend/messages/nl.json index ce1a4bb30..6e37492ce 100644 --- a/frontend/messages/nl.json +++ b/frontend/messages/nl.json @@ -613,5 +613,6 @@ "progress": "Progressie", "back": "Opbrengst", "duplicate": "Duplicaat", - "duplicateRiskAssessment": "Dupliceer de risicobeoordeling" + "duplicateRiskAssessment": "Dupliceer de risicobeoordeling", + "size": "Grootte" } diff --git a/frontend/messages/pl.json b/frontend/messages/pl.json index 1d36173e8..de37cafa4 100644 --- a/frontend/messages/pl.json +++ b/frontend/messages/pl.json @@ -650,5 +650,6 @@ "progress": "Postęp", "back": "Powrót", "duplicate": "Duplikować", - "duplicateRiskAssessment": "Powielić ocenę ryzyka" + "duplicateRiskAssessment": "Powielić ocenę ryzyka", + "size": "Rozmiar" } diff --git a/frontend/messages/pt.json b/frontend/messages/pt.json index fe5bc885b..94f7ad82c 100644 --- a/frontend/messages/pt.json +++ b/frontend/messages/pt.json @@ -613,5 +613,6 @@ "progress": "Progressão", "back": "Retornar", "duplicate": "Duplicado", - "duplicateRiskAssessment": "Duplicar a avaliação de risco" + "duplicateRiskAssessment": "Duplicar a avaliação de risco", + "size": "Tamanho" } diff --git a/frontend/src/lib/utils/table.ts b/frontend/src/lib/utils/table.ts index 5fab2e7ae..462150f6b 100644 --- a/frontend/src/lib/utils/table.ts +++ b/frontend/src/lib/utils/table.ts @@ -374,8 +374,8 @@ export const listViewFields: ListViewFieldsConfig = { breadcrumb_link_disabled: true }, evidences: { - head: ['name', 'file', 'description'], - body: ['name', 'attachment', 'description'], + head: ['name', 'file', 'size', 'description'], + body: ['name', 'attachment', 'size', 'description'], filters: { folder: { ...DOMAIN_FILTER_FROM_META, alwaysDisplay: true } // This filter should also be displayed even without alwaysDisplay }