new
parent
03f40cb8db
commit
c22db8adcf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,10 @@
|
|||||||
|
from django.urls import path
|
||||||
|
from . import views
|
||||||
|
from django.conf.urls.static import static
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
|
urlpatterns = [
|
||||||
|
path('tickets/<str:ticket_number>/department/', views.add_ticket_department_modal, name='addticketdepartmentmodal'),
|
||||||
|
path('tickets/<str:ticket_number>/member/', views.add_ticket_member_modal, name='addticketmembermodal'),
|
||||||
|
]
|
||||||
|
|
@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
|
||||||
|
from django.shortcuts import render, get_object_or_404
|
||||||
|
from support.models import *
|
||||||
|
from osinacore.decorators import *
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
def add_ticket_department_modal(request):
|
||||||
|
|
||||||
|
context = {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return render(request, 'add_templates/add-ticket-department-modal.html', context)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
def add_ticket_member_modal(request):
|
||||||
|
|
||||||
|
context = {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return render(request, 'add_templates/add-ticket-member-modal.html', context)
|
||||||
|
|
Loading…
Reference in New Issue