mirror of
https://github.com/itflow-org/itflow
synced 2026-11-22 04:17:24 +00:00
Archive clients, ticket replies, accounts and SLAs and restore anything without an Are you sure prompt, with Undo added for ticket replies and accounts, real plurals and bold counts in bulk messages, and flashAlert for asset and contact note messages
This commit is contained in:
@@ -356,7 +356,7 @@ function softwareHeldTable($rows, $kind, $holder_id, $can_edit) {
|
||||
$key_html = softwareKeyHtml($row['software_key']) . '<div class="small text-body-secondary">License key</div>';
|
||||
}
|
||||
$renew_html = $renewal
|
||||
? escapeHtml($renewal['date']) . '<div class="small text-' . ($renewal['tone'] === 'success' ? 'body-secondary' : $renewal['tone'] . '-emphasis') . '">' . escapeHtml($renewal['text']) . '</div>'
|
||||
? formatDate($renewal['date']) . '<div class="small text-' . ($renewal['tone'] === 'success' ? 'body-secondary' : $renewal['tone'] . '-emphasis') . '">' . escapeHtml($renewal['text']) . '</div>'
|
||||
: '<span class="text-body-secondary">-</span>';
|
||||
$unlink = $can_edit
|
||||
? '<a href="post.php?unlink_item&from=' . $kind . '&id=' . $holder_id . '&to=software&other=' . $software_id . '&csrf_token=' . escapeHtml($_SESSION['csrf_token'] ?? '') . '" class="btn btn-sm btn-light confirm-link" title="Take off this license" data-confirm-text="Frees the seat, and any key it had."><i class="fas fa-fw fa-unlink"></i></a>'
|
||||
|
||||
Reference in New Issue
Block a user