Sfoglia il codice sorgente

Pull Request code review

TonyKurts 1 settimana fa
parent
commit
a59aa4039e
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      templates/tickets/ticket_detail.html

+ 2 - 4
templates/tickets/ticket_detail.html

@@ -155,9 +155,7 @@
                 </h1>
               </div>
               <div class="modal-body">
-                Are you sure you want to change the status of the ticket "{{ ticket.title }}"?
-                <br>
-                From "{{ ticket.get_status_display }}" to "<span id="selectedStatusOption">12312</span>"
+                Are you sure you want to change the status of the ticket "{{ ticket.title }}" from <b>{{ ticket.get_status_display }}</b> to <b id="selectedStatusOption"></b>?
               </div>
               <div class="modal-footer">
                 <button type="button" class="btn btn-primary" data-bs-dismiss="modal">
@@ -271,7 +269,7 @@
       e.preventDefault();
 
       const selectValue = $('#select-ticket-status')[0].selectedOptions[0].textContent;
-
+      
       $('#selectedStatusOption')[0].textContent = selectValue;
     })
   </script>