diff --git a/generic/forms.py b/generic/forms.py index e36aaf5c..d42e97e5 100755 --- a/generic/forms.py +++ b/generic/forms.py @@ -427,6 +427,7 @@ class CidUserForm(ModelForm): "internal_candidate", "name", "email", + "notes", "supervisor", "login_email_sent", "results_email_sent", diff --git a/generic/migrations/0030_ciduser_notes.py b/generic/migrations/0030_ciduser_notes.py new file mode 100644 index 00000000..de170e89 --- /dev/null +++ b/generic/migrations/0030_ciduser_notes.py @@ -0,0 +1,18 @@ +# Generated by Django 5.2.7 on 2025-12-29 10:01 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('generic', '0029_add_unique_constraint_supervisor_email'), + ] + + operations = [ + migrations.AddField( + model_name='ciduser', + name='notes', + field=models.TextField(blank=True, help_text='Internal notes about the candidate'), + ), + ] diff --git a/generic/models.py b/generic/models.py index 1391ac2f..6b973fb2 100644 --- a/generic/models.py +++ b/generic/models.py @@ -1442,6 +1442,8 @@ class CidUser(models.Model): "CidUserGroup", on_delete=models.SET_NULL, null=True, blank=True ) + notes = models.TextField(blank=True, help_text="Internal notes about the candidate") + class Meta: indexes = [models.Index(fields=["cid"])] diff --git a/generic/templates/generic/partials/group_users_list.html b/generic/templates/generic/partials/group_users_list.html index 87d77822..57a1ff4b 100644 --- a/generic/templates/generic/partials/group_users_list.html +++ b/generic/templates/generic/partials/group_users_list.html @@ -18,6 +18,9 @@