From b77b83f79a02e7da34ea34e63b5823298bcaf916 Mon Sep 17 00:00:00 2001 From: Michael Barton Date: Sat, 11 Jan 2025 20:31:47 +0000 Subject: [PATCH 1/3] Remove filters that duplicate the nav bar context menu --- .../templates/partials/patient_table.html | 56 +------------------ 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/project/npda/templates/partials/patient_table.html b/project/npda/templates/partials/patient_table.html index 50f6895e..648d7ef8 100644 --- a/project/npda/templates/partials/patient_table.html +++ b/project/npda/templates/partials/patient_table.html @@ -1,61 +1,7 @@ {% load static %} {% load npda_tags %} {% url 'patients' as patients_url %} -{% if request.user.view_preference == 1 %} - - -{% elif request.user.view_preference == 2 %} - - - -{% endif %} + {% if patient_list %}
From 4a298d78cde546ccec2588eb0dacbc857bafa04a Mon Sep 17 00:00:00 2001 From: Michael Barton Date: Sat, 11 Jan 2025 20:35:40 +0000 Subject: [PATCH 2/3] Remove breadcrumbs that don't correspond to the top level nav --- project/npda/templates/patients.html | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/project/npda/templates/patients.html b/project/npda/templates/patients.html index 0f6ea858..bc5241e0 100644 --- a/project/npda/templates/patients.html +++ b/project/npda/templates/patients.html @@ -5,15 +5,7 @@
-
- +
-
-
-
-
- -
- {% include 'partials/patient_table.html' with patient_list=patient_list index_of_first_invalid_patient=index_of_first_invalid_patient total_invalid_patients=total_invalid_patients %} -
-
-
+
+ {% include 'partials/patient_table.html' with patient_list=patient_list index_of_first_invalid_patient=index_of_first_invalid_patient total_invalid_patients=total_invalid_patients %}