From fb7d1fc38e9bbfe92ac926c2a88483b8f5b55b21 Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 10 Aug 2023 14:10:57 +0200 Subject: [PATCH 1/6] refs #5995 test --- src/pages/Route/Cmr/CmrList.vue | 55 +++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/src/pages/Route/Cmr/CmrList.vue b/src/pages/Route/Cmr/CmrList.vue index 761d79fa2..d8c406396 100644 --- a/src/pages/Route/Cmr/CmrList.vue +++ b/src/pages/Route/Cmr/CmrList.vue @@ -56,8 +56,8 @@ const columns = computed(() => [ }, ]); function getProjectUrl() { - return ((new URL(window.location)).origin); -}; + return new URL(window.location).origin; +} - - - + + + @@ -127,4 +134,4 @@ function getProjectUrl() { #false { background-color: $negative; } - \ No newline at end of file + From 930c9cdef1eaf9d9fa73c93b18b849b6ecabe26f Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 10 Aug 2023 14:18:13 +0200 Subject: [PATCH 2/6] refs #5995 test --- src/i18n/en/index.js | 2 +- src/i18n/es/index.js | 2 +- src/pages/Route/Cmr/CmrList.vue | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index ad7c85063..e4749a5fc 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -455,7 +455,7 @@ export default { }, cmr: { list: { - total: 'Total {0} records', + total: 'Total {length} records', cmrFk: 'Cmr id', hasCmrDms: `Attached in gestdoc`, true: 'Yes', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 06e6524b6..37377343c 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -455,7 +455,7 @@ export default { }, cmr: { list: { - total: 'Total {0} registros', + total: 'Total {length} registros', cmrFk: 'Id cmr', hasCmrDms: 'Adjuntado en gestdoc', true: 'Sí', diff --git a/src/pages/Route/Cmr/CmrList.vue b/src/pages/Route/Cmr/CmrList.vue index d8c406396..748fb9a08 100644 --- a/src/pages/Route/Cmr/CmrList.vue +++ b/src/pages/Route/Cmr/CmrList.vue @@ -80,9 +80,7 @@ function getProjectUrl() { auto-load >