mirror of
https://github.com/itflow-org/itflow
synced 2026-11-24 13:27:27 +00:00
Undo: the message after archiving, a move or a bulk change has Undo, which puts it back as it was unless it changed since, and archiving no longer asks first except for clients; covers archiving every kind on Archived with contact roles, document links and a client's recurring invoices, file, document, folder and rack moves, and the bulk changes that set a field on tickets, assets, contacts, clients, projects, invoices, products and IP addresses
This commit is contained in:
@@ -275,7 +275,7 @@ function filesItemMenu($item) {
|
||||
: "<a class=\"dropdown-item text-danger confirm-link\" href=\"post.php?delete_document=$id&csrf_token=$csrf\"><i class=\"fas fa-fw fa-trash me-2\"></i>Delete</a>";
|
||||
}
|
||||
} else {
|
||||
$html .= "<a class=\"dropdown-item text-danger confirm-link\" href=\"post.php?archive_$archive_name=$id&csrf_token=$csrf\"><i class=\"fas fa-fw fa-archive me-2\"></i>Archive</a>";
|
||||
$html .= "<a class=\"dropdown-item text-danger\" href=\"post.php?archive_$archive_name=$id&csrf_token=$csrf\"><i class=\"fas fa-fw fa-archive me-2\"></i>Archive</a>";
|
||||
}
|
||||
}
|
||||
return $html;
|
||||
@@ -447,7 +447,7 @@ $preview = []; // the grid's previewer payload
|
||||
<i class="fas fa-fw fa-file-archive me-2"></i>Download as zip
|
||||
</button>
|
||||
<div class="dropdown-divider"></div>
|
||||
<button class="dropdown-item text-danger confirm-link" type="submit" form="bulkActions" name="bulk_archive_files">
|
||||
<button class="dropdown-item text-danger" type="submit" form="bulkActions" name="bulk_archive_files">
|
||||
<i class="fas fa-fw fa-archive me-2"></i>Archive
|
||||
</button>
|
||||
<?php } else { ?>
|
||||
|
||||
Reference in New Issue
Block a user