From 6aee5ec131bfe1df9c44e5252e1d9c91fcdbd00c Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Sun, 21 Jun 2026 17:52:30 +0200 Subject: [PATCH] Clean up cleanup dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove duplicate 'Téléversements abandonnés' heading already communicated by the summary - Replace #peertube-orphans-wrapper with display:contents wrapper so PeerTube details sit as direct grid siblings - Add hx-confirm to all delete buttons (filepond, trash, PeerTube orphans) --- app/public/admin/actions/cleanup-stats-fragment.php | 6 ++---- .../admin/actions/peertube-orphans-fragment.php | 13 +++++++------ app/templates/admin/index.php | 2 +- .../admin/partials/dialogs/tmp-cleanup.php | 4 ++-- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/app/public/admin/actions/cleanup-stats-fragment.php b/app/public/admin/actions/cleanup-stats-fragment.php index 2a2782f..0484506 100644 --- a/app/public/admin/actions/cleanup-stats-fragment.php +++ b/app/public/admin/actions/cleanup-stats-fragment.php @@ -61,10 +61,6 @@ if ($totalStale === 0 && $totalFiles === 0): ?> 0): ?> -

- - Téléversements abandonnés -

@@ -76,6 +72,7 @@ if ($totalStale === 0 && $totalFiles === 0): ?>
NomTailleÂge
diff --git a/app/templates/admin/index.php b/app/templates/admin/index.php index 9898a4c..73a7b17 100644 --- a/app/templates/admin/index.php +++ b/app/templates/admin/index.php @@ -41,7 +41,7 @@ document.addEventListener('htmx:afterSwap',()=>{document.querySelectorAll('input 0): ?> diff --git a/app/templates/admin/partials/dialogs/tmp-cleanup.php b/app/templates/admin/partials/dialogs/tmp-cleanup.php index dff1b13..774da17 100644 --- a/app/templates/admin/partials/dialogs/tmp-cleanup.php +++ b/app/templates/admin/partials/dialogs/tmp-cleanup.php @@ -22,11 +22,11 @@ -
+ hx-indicator="#peertube-orphans-fragment">

Chargement…