From 5fb991428a673e58552bf7f27e9ca74d8647ddd5 Mon Sep 17 00:00:00 2001 From: fredkingham Date: Thu, 25 May 2023 09:41:36 +0100 Subject: [PATCH] Makes read only users unable to interact with the TB review list If the user is read only they should not be able to add/remove patients from/to the TB review list --- plugins/tb/templates/partials/tb_appointments.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/tb/templates/partials/tb_appointments.html b/plugins/tb/templates/partials/tb_appointments.html index e923e3737..388dadca2 100644 --- a/plugins/tb/templates/partials/tb_appointments.html +++ b/plugins/tb/templates/partials/tb_appointments.html @@ -61,6 +61,7 @@

TB Appointments

> TB Review Patients + {% if not request.user.profile.readonly %} + {% endif %}