Explorar el Código

Pull Request code review

TonyKurts hace 1 semana
padre
commit
a59aa4039e
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  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>