mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-09-13 13:13:01 +02:00
Modified: views and and urlconf
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
type="checkbox"
|
||||
role="switch"
|
||||
id="ticket-state"
|
||||
ticket-state-url="{% url 'ticket' ticket.platform ticket.number %}"
|
||||
ticket-state-url="{% url 'ajax_update_state_ticket' ticket.platform ticket.number %}"
|
||||
{% if ticket.resolved %} ticket-state-switch="1" {% endif %}
|
||||
{% if ticket.resolved %} checked {% endif %}>
|
||||
</div>
|
||||
<div class="col-xl-6 mb-2">
|
||||
@@ -156,7 +157,7 @@
|
||||
>Cancel</button>
|
||||
<a
|
||||
type="button"
|
||||
href="{% url 'delete' ticket.number %}"
|
||||
href="{% url 'ajax_delete_ticket' ticket.number %}"
|
||||
class="btn btn-danger btn-ticket-del"
|
||||
data-bs-dismiss="modal"
|
||||
data-jq-ticket-del-redirect="{% url 'tickets' %}"
|
||||
|
Reference in New Issue
Block a user