Tags in the row menu of every list - assets, clients, contacts, credentials, domains, documents, locations, networks, services, licenses, vendors, tickets, the tickets board, the Files grid and the Knowledge Base - opens the tag picker from the row menu button, the row tag line appears as tags are ticked and hides again while a row has none, cards keep their tags without the plus, the picker lines up with a menu button at the end of a row, and the ticket reply draft waits for the editor to be ready before reading it

This commit is contained in:
johnnyq
2026-11-20 15:48:55 -05:00
parent 9203880dfd
commit 491f2c4d42
19 changed files with 101 additions and 38 deletions

View File

@@ -331,8 +331,8 @@ $link_icons = ['asset' => ['fa-desktop', 'asset', 'assets'], 'credential' => ['f
<?php if ($detail !== '') { ?>
<div class="small text-body-secondary text-truncate itflow-service-desc" title="<?= escapeHtml($detail) ?>"><?= escapeHtml($detail) ?></div>
<?php } ?>
<?php if ($service_tags) { ?>
<div class="mt-1"><?= tagPills('service', $service_id, $service_tags, "services.php?$client_url", $can_edit && !$is_archived) ?></div>
<?php if ($service_tags || ($can_edit && !$is_archived)) { ?>
<div class="itflow-tags-row mt-1"><?= tagPills('service', $service_id, $service_tags, "services.php?$client_url", $can_edit && !$is_archived) ?></div>
<?php } ?>
<!-- Narrower screens drop the Depends on column - the chips come along -->
<?php if ($chips) { ?><div class="d-none d-md-flex d-xxl-none flex-wrap gap-1 mt-1"><?= $chips ?></div><?php } ?>
@@ -397,6 +397,7 @@ $link_icons = ['asset' => ['fa-desktop', 'asset', 'assets'], 'credential' => ['f
<a class="dropdown-item ajax-modal" href="#" data-modal-size="lg" data-modal-url="modals/service/service_edit.php?id=<?= $service_id ?>">
<i class="fas fa-fw fa-edit text-secondary me-2"></i>Edit
</a>
<?= tagMenuItem('service', $service_id) ?>
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/service/service_review.php?id=<?= $service_id ?>">
<i class="fas fa-fw fa-clipboard-check text-secondary me-2"></i>Mark reviewed
</a>