From a5401e35d80eb8960b3663f98ad3c99d7752ea3e Mon Sep 17 00:00:00 2001 From: Gabriele Cimaschi Date: Wed, 26 Aug 2026 18:07:01 +0200 Subject: [PATCH] style: spostate icone apri in otrs e apri in una nuova scheda a destra del pulsante copia oggetto. --- public/js/views/ricercaSpudorata.js | 8 +++++++- public/js/views/ticketList.js | 8 ++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/public/js/views/ricercaSpudorata.js b/public/js/views/ricercaSpudorata.js index dc853ac..687549a 100644 --- a/public/js/views/ricercaSpudorata.js +++ b/public/js/views/ricercaSpudorata.js @@ -176,6 +176,7 @@ const RicercaSpudorataView = { try { const data = await App.api(`/api/tickets?search=${encodeURIComponent(query)}&per_page=2000`); this.cachedTickets = data.tickets || []; + this.otrsBaseUrl = data.otrsBaseUrl || ''; this.hasSearched = true; this.currentPage = 1; this.selectedIds.clear(); @@ -267,8 +268,13 @@ const RicercaSpudorataView = { 📋 + ${this.otrsBaseUrl ? ` + + O + + ` : ''} + ${t.tn} - ${App.formatDateTime(t.create_time)} diff --git a/public/js/views/ticketList.js b/public/js/views/ticketList.js index 045f11a..39cc976 100644 --- a/public/js/views/ticketList.js +++ b/public/js/views/ticketList.js @@ -328,13 +328,13 @@ const TicketListView = { 📋 - ${t.tn} ${data.otrsBaseUrl ? ` - - O + + O ` : ''} - + + ${t.tn} ${App.formatDateTime(t.create_time)}