mirror of
https://github.com/itflow-org/itflow
synced 2026-12-02 17:18:59 +00:00
Files and documents everywhere else: asset and contact quick looks list their documents and files with the same tiles and rows as the document page, files opening their quick look instead of a raw download; client overview share links show document and file tiles and open the document page or file quick look; service quick look shows linked documents as tiles and leaves out archived ones, service add and edit document pickers carry an icon and summary; global search shows file and document type tiles in the palette and on the results page, and a file result opens its folder narrowed to that file; quote attachments show their tile and size, open the file quick look and download through file.php instead of linking straight into the uploads folder; ticket attachments show their file type tile; client portal documents list shows the document tile, folder and summary with the last updated date; removed unused modals/asset/asset_documents.php
This commit is contained in:
@@ -639,7 +639,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
$ticket_attachment_name = escapeHtml($ticket_attachment['ticket_attachment_name']);
|
||||
?>
|
||||
<div class="mt-1">
|
||||
<i class="fas fa-fw fa-paperclip text-secondary me-1"></i><?= $ticket_attachment_name ?>
|
||||
<span class="me-1 align-middle"><?= fileTypeTile(pathinfo($ticket_attachment['ticket_attachment_name'], PATHINFO_EXTENSION), 'xs') ?></span><?= $ticket_attachment_name ?>
|
||||
<a target="_blank" class="ms-2 small" href="ticket_attachment.php?attachment_id=<?= $ticket_attachment_id ?>&action=view">View</a>
|
||||
<a class="ms-2 small" href="ticket_attachment.php?attachment_id=<?= $ticket_attachment_id ?>">Download</a>
|
||||
<?php if (lookupUserPermission("module_support") >= 3) { ?>
|
||||
@@ -932,7 +932,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
$ticket_attachment_name = escapeHtml($ticket_attachment['ticket_attachment_name']);
|
||||
?>
|
||||
<div class="mt-1">
|
||||
<i class="fas fa-fw fa-paperclip text-secondary me-1"></i><?= $ticket_attachment_name ?>
|
||||
<span class="me-1 align-middle"><?= fileTypeTile(pathinfo($ticket_attachment['ticket_attachment_name'], PATHINFO_EXTENSION), 'xs') ?></span><?= $ticket_attachment_name ?>
|
||||
<a target="_blank" class="ms-2 small" href="ticket_attachment.php?attachment_id=<?= $ticket_attachment_id ?>&action=view">View</a>
|
||||
<a class="ms-2 small" href="ticket_attachment.php?attachment_id=<?= $ticket_attachment_id ?>">Download</a>
|
||||
<?php if (lookupUserPermission("module_support") >= 3) { ?>
|
||||
|
||||
Reference in New Issue
Block a user