mirror of
https://github.com/itflow-org/itflow
synced 2026-12-02 09:09:01 +00:00
Keep a ticket's emails in one conversation: every client email about a ticket has the subject [TCK-123] and its subject and carries Message-ID, In-Reply-To and References, kept per ticket in ticket_mail_threads, and the email parser finds a reply's ticket by those headers first, then by the number in brackets with the prefix that ticket was given; one email goes to the contact with the watchers and colleagues copied in, switchable in Admin, Settings, Tickets; a client's reply by email, text or portal is passed on to the people following the ticket who weren't on it, by email only when it answers one of the ticket's emails; others in To and Cc on a client's or watcher's email become watchers, never your own domain or agents; the same email twice makes one ticket and a merged ticket's replies go to the ticket it went into; database 4.2.6; 26.12.3 changelog entries
This commit is contained in:
@@ -463,6 +463,7 @@ if (!$config_module_enable_ticketing) {
|
||||
<div class="fw-semibold text-break" data-preview-subject></div>
|
||||
<div class="small text-body-secondary text-break"><span class="fw-semibold">From</span> <span data-preview-from></span></div>
|
||||
<div class="small text-body-secondary text-break"><span class="fw-semibold">To</span> <span data-preview-to></span> <span data-preview-also></span></div>
|
||||
<div class="small text-body-secondary text-break d-none" data-preview-cc-line><span class="fw-semibold">Cc</span> <span data-preview-cc></span></div>
|
||||
<div class="small text-body-secondary"><i class="fas fa-fw fa-bolt me-1"></i><span data-preview-when></span><span class="ms-2 badge text-bg-secondary d-none" data-preview-calendar><i class="fas fa-calendar-alt me-1"></i>Calendar file attached</span></div>
|
||||
</div>
|
||||
<div class="d-flex gap-2 align-items-center">
|
||||
@@ -540,6 +541,8 @@ if (!$config_module_enable_ticketing) {
|
||||
card.querySelector('[data-preview-from]').textContent = data.from || '-';
|
||||
card.querySelector('[data-preview-to]').textContent = data.to || data.to_who || '-';
|
||||
card.querySelector('[data-preview-also]').textContent = data.also && data.also.length ? '(and ' + data.also.join(', ') + ')' : '';
|
||||
card.querySelector('[data-preview-cc]').textContent = data.cc && data.cc.length ? data.cc.join(', ') : '';
|
||||
card.querySelector('[data-preview-cc-line]').classList.toggle('d-none', !(data.cc && data.cc.length));
|
||||
card.querySelector('[data-preview-when]').textContent = 'Sent when: ' + (data.when || '');
|
||||
card.querySelector('[data-preview-calendar]').classList.toggle('d-none', !data.calendar);
|
||||
var error = card.querySelector('[data-preview-error]');
|
||||
|
||||
Reference in New Issue
Block a user