From ccb5caa6d48f72849d4595f6067e15f8d77982aa Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Wed, 26 Feb 2025 15:55:25 +0100
Subject: frontend: Streamline display of content in Delete tabs

---
 frontend/src/lib/tabs/ArchiveDelete.svelte | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

(limited to 'frontend/src/lib/tabs/ArchiveDelete.svelte')

diff --git a/frontend/src/lib/tabs/ArchiveDelete.svelte b/frontend/src/lib/tabs/ArchiveDelete.svelte
index 50a99c2..d2b2465 100644
--- a/frontend/src/lib/tabs/ArchiveDelete.svelte
+++ b/frontend/src/lib/tabs/ArchiveDelete.svelte
@@ -21,21 +21,12 @@
 </script>
 
 <div class="flex flex-col gap-2">
-	<div>
-		<p>
-			Deleting this archive will remove the
-			<span class="cursor-help font-medium underline" title={archive.path}>archive file</span> on disk.
-		</p>
-		{#if archive.comics.length > 0}
-			<p>The following comics will also be deleted:</p>
-			<ul class="ml-8 list-disc">
-				{#each archive.comics as comic}
-					<li><a href="/comics/{comic.id}" class="underline">{comic.title}</a></li>
-				{/each}
-			</ul>
-		{/if}
-		<p class="mt-2 font-medium">This action is irrevocable.</p>
-	</div>
+	<p>
+		Deleting this archive will remove all of its comics as well as the
+		<span class="cursor-help font-medium underline" title={archive.path}>archive file</span> on
+		disk.
+		<span class="font-medium">This action is irrevocable.</span>
+	</p>
 	<div class="flex">
 		<DeleteButton prominent onclick={deleteArchive} />
 	</div>
-- 
cgit v1.2.3-2-gb3c3

