QoL 64: bulk asset delete asks first, credential archive from a record page no longer asks as no other archive does, related ticket and service ticket removal ask first like the other ticket page removals, and four field hints use form-text

This commit is contained in:
johnnyq
2026-11-21 02:37:15 -05:00
parent c094f97eed
commit 2e2cbea773
8 changed files with 13 additions and 11 deletions

View File

@@ -376,7 +376,7 @@ function credentialTableHtml(array $rows, array $options = []) {
$actions .= '<a class="dropdown-item" href="' . escapeHtml($unlink_url) . '"><i class="fas fa-fw fa-unlink text-secondary me-2"></i>Unlink</a>';
}
if ($can_edit && !$archived) {
$actions .= '<a class="dropdown-item text-danger confirm-link" href="post.php?archive_credential=' . $id . '&amp;csrf_token=' . escapeHtml($csrf) . '"><i class="fas fa-fw fa-archive me-2"></i>Archive</a>';
$actions .= '<a class="dropdown-item text-danger" href="post.php?archive_credential=' . $id . '&amp;csrf_token=' . escapeHtml($csrf) . '"><i class="fas fa-fw fa-archive me-2"></i>Archive</a>';
}
$html .= '<td class="text-end"><div class="dropdown dropstart"><button class="btn btn-sm btn-light" title="More actions" type="button" data-bs-toggle="dropdown"><i class="fas fa-fw fa-ellipsis-v"></i></button>'
. '<div class="dropdown-menu">' . $actions . '</div></div></td></tr>';