From b8ee20706135132cb4e96490f5fce7eaa0914c0a Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 9 Sep 2024 10:02:51 +0100 Subject: [PATCH] improve trainee management --- generic/templates/generic/trainees.html | 49 +++++++++++++++++++++---- generic/views.py | 18 ++++++++- rad/views.py | 5 ++- 3 files changed, 63 insertions(+), 9 deletions(-) diff --git a/generic/templates/generic/trainees.html b/generic/templates/generic/trainees.html index f7292bcc..364d466f 100644 --- a/generic/templates/generic/trainees.html +++ b/generic/templates/generic/trainees.html @@ -23,20 +23,21 @@ GradeEmailSupervisorEdit Bulk Edit
Toggle All {% for trainee in trainees %} - + {{trainee.user.first_name}} {{trainee.user.last_name}} {{trainee.grade}}{% if not trainee.grade %} - add + add {% endif %} {{trainee.user.email}} @@ -45,7 +46,7 @@ class="no-supervisor" {% endif %} >{{trainee.supervisor}}{% if not trainee.supervisor %} - add + add {% endif %} User/Profile @@ -54,7 +55,7 @@ > - + @@ -67,11 +68,41 @@ + >Remove trainee status +
+

Bulk edit options

+ These actions will act on all the selected trainees. Refresh the page to cancel / clear. +
+
+ + + +
+