From 4f98e17b5f98cbda2f3e7c7eeab238d1f6ce4073 Mon Sep 17 00:00:00 2001
From: Joe Knapper
Date: Tue, 20 May 2025 12:29:31 +0100
Subject: [PATCH] Only open preview from button or thumbnail, warn if no DZI
available, recentre list
---
.../tabContentComponents/scanListContent.vue | 27 +++++++++++++++----
1 file changed, 22 insertions(+), 5 deletions(-)
diff --git a/webapp/src/components/tabContentComponents/scanListContent.vue b/webapp/src/components/tabContentComponents/scanListContent.vue
index 6892ec5c..47724cc1 100644
--- a/webapp/src/components/tabContentComponents/scanListContent.vue
+++ b/webapp/src/components/tabContentComponents/scanListContent.vue
@@ -69,7 +69,7 @@
-
+
@@ -112,14 +113,29 @@
:modal-progress="true"
@error="modalError"
/>
+
+
+
+
- {{ item.number_of_images }} images
- created: {{ formatDate(item.created) }}
- modified: {{ formatDate(item.modified) }}
- - Not enough images to stitch
- - Scan not stitched
-
+
Not enough images to stitch
+
Interactive preview not available
+
High quality stitch not available
+
@@ -232,7 +248,7 @@ export default {
scans.forEach(scan => {
scan.modified = Date.parse(scan.modified);
scan.created = Date.parse(scan.created);
- scan.can_stitch = !scan.stitch_available && scan.number_of_images > 3 || !scan.dzi && scan.number_of_images > 3;
+ scan.can_stitch = !scan.stitch_available && scan.number_of_images > 3;
});
scans.sort((a, b) => {
return b.modified - a.modified;
@@ -357,5 +373,6 @@ ul {
display: inline-block;
text-align: center;
list-style-type:none;
+ margin: 5px 0px 10px 0px;
}
\ No newline at end of file