From 0fb7728d385cfba906c5fc26c3378891ca26cf90 Mon Sep 17 00:00:00 2001 From: Mendo6472 Date: Mon, 6 May 2024 09:33:39 -0500 Subject: [PATCH 1/2] REF:BUILD: Pass tests --- .../templates/request_creation/cex_request_form.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hiring_module/hiring_app/templates/request_creation/cex_request_form.html b/hiring_module/hiring_app/templates/request_creation/cex_request_form.html index 4e04819..ba3212c 100644 --- a/hiring_module/hiring_app/templates/request_creation/cex_request_form.html +++ b/hiring_module/hiring_app/templates/request_creation/cex_request_form.html @@ -186,10 +186,6 @@ notificationModal.hide(); } - notificationCloseBtn.addEventListener('click', function () { - hideNotification(); - }); - form.addEventListener('submit', function (event) { event.preventDefault(); From 7f210b7e5a88c2db83d96cb1d92a02412012eaa2 Mon Sep 17 00:00:00 2001 From: Mendo6472 Date: Mon, 6 May 2024 09:44:48 -0500 Subject: [PATCH 2/2] REF:BUILD: FIX UI --- .../hiring_app/templates/components/LeftSideMenu.html | 6 +++--- .../request_creation/monitoring_request_form.html | 4 ++++ .../templates/request_creation/pos_request_form.html | 4 ++++ .../templates/request_hiring/components/change_state.html | 3 --- .../views/request_creation/cex_contract_request_view.py | 7 +++++++ .../request_creation/monitoring_contract_request_view.py | 7 ++++++- .../views/request_creation/pos_contract_request_view.py | 4 ++++ 7 files changed, 28 insertions(+), 7 deletions(-) diff --git a/hiring_module/hiring_app/templates/components/LeftSideMenu.html b/hiring_module/hiring_app/templates/components/LeftSideMenu.html index df22a8e..c21daf2 100644 --- a/hiring_module/hiring_app/templates/components/LeftSideMenu.html +++ b/hiring_module/hiring_app/templates/components/LeftSideMenu.html @@ -1,5 +1,4 @@ {% load static %} -{% if actualgroup != "external" %} -{% endif %} \ No newline at end of file + \ No newline at end of file diff --git a/hiring_module/hiring_app/templates/request_creation/monitoring_request_form.html b/hiring_module/hiring_app/templates/request_creation/monitoring_request_form.html index 1170cc7..eeb106e 100644 --- a/hiring_module/hiring_app/templates/request_creation/monitoring_request_form.html +++ b/hiring_module/hiring_app/templates/request_creation/monitoring_request_form.html @@ -177,6 +177,10 @@ notificationModal.hide(); } + notificationCloseBtn.addEventListener('click', function () { + hideNotification(); + }); + form.addEventListener('submit', function (event) { event.preventDefault(); diff --git a/hiring_module/hiring_app/templates/request_creation/pos_request_form.html b/hiring_module/hiring_app/templates/request_creation/pos_request_form.html index 3723ba4..6430d3d 100644 --- a/hiring_module/hiring_app/templates/request_creation/pos_request_form.html +++ b/hiring_module/hiring_app/templates/request_creation/pos_request_form.html @@ -303,6 +303,10 @@ notificationModal.hide(); } + notificationCloseBtn.addEventListener('click', function () { + hideNotification(); + }); + form.addEventListener('submit', function (event) { event.preventDefault(); diff --git a/hiring_module/hiring_app/templates/request_hiring/components/change_state.html b/hiring_module/hiring_app/templates/request_hiring/components/change_state.html index e790057..69a6a2e 100644 --- a/hiring_module/hiring_app/templates/request_hiring/components/change_state.html +++ b/hiring_module/hiring_app/templates/request_hiring/components/change_state.html @@ -12,9 +12,6 @@
{% csrf_token %} -