Quellcode durchsuchen

Pull Request code review

TonyKurts vor 1 Woche
Ursprung
Commit
a59aa4039e
1 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen
  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>