changeset 4915:db134712519b fairway-marks-import

import overview remove fm prefix from import kind to circumvent layout problems
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 11 Feb 2020 16:13:57 +0100
parents 5cdedfea740f
children d456621404c2
files client/src/components/importoverview/ImportOverview.vue client/src/components/importoverview/LogEntry.vue
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue	Tue Feb 11 09:30:27 2020 +0100
+++ b/client/src/components/importoverview/ImportOverview.vue	Tue Feb 11 16:13:57 2020 +0100
@@ -78,10 +78,10 @@
       <UITableHeader
         :columns="[
           { id: 'id', title: `${idLabel}`, width: '70px' },
-          { id: 'kind', title: `${kindLabel}`, width: '50px' },
-          { id: 'enqueued', title: `${enqueuedLabel}`, width: '138px' },
+          { id: 'kind', title: `${kindLabel}`, width: '55px' },
+          { id: 'enqueued', title: `${enqueuedLabel}`, width: '135px' },
           { id: 'user', title: `${ownerLabel}`, width: '80px' },
-          { id: 'country', title: `${countryLabel}`, width: '55px' },
+          { id: 'country', title: `${countryLabel}`, width: '50px' },
           { id: 'signer', title: `${signerLabel}`, width: '80px' },
           { id: 'state', title: `${statusLabel}`, width: '72px' },
           { id: 'changed', title: `${changedLabel}`, width: '138px' },
--- a/client/src/components/importoverview/LogEntry.vue	Tue Feb 11 09:30:27 2020 +0100
+++ b/client/src/components/importoverview/LogEntry.vue	Tue Feb 11 16:13:57 2020 +0100
@@ -9,16 +9,16 @@
       />
       {{ entry.id }}
     </div>
-    <div style="width: 50px;" class="table-cell center">
-      {{ entry.kind.toUpperCase() }}
+    <div style="width: 55px;" class="table-cell center">
+      {{ entry.kind.replace("fm_", "").toUpperCase() }}
     </div>
-    <div style="width: 138px;" class="table-cell center">
+    <div style="width: 135px;" class="table-cell center">
       {{ entry.enqueued | dateTime }}
     </div>
     <div style="width: 80px;" class="table-cell truncate">
       {{ entry.user }}
     </div>
-    <div style="width: 55px;" class="table-cell center">
+    <div style="width: 50px;" class="table-cell center">
       {{ userCountries[entry.user] }}
     </div>
     <div style="width: 80px;" class="table-cell truncate">