diff --git a/generic/templates/generic/trainees.html b/generic/templates/generic/trainees.html index 9b711c89..67471066 100644 --- a/generic/templates/generic/trainees.html +++ b/generic/templates/generic/trainees.html @@ -32,7 +32,9 @@ {% for trainee in trainees %} - {{trainee.user.first_name}} {{trainee.user.last_name}} + {{trainee.user.first_name}} {{trainee.user.last_name}} + +
- Supervisor: {{ user.userprofile.supervisor }}
+ Supervisor: {{ user.userprofile.supervisor }} + {% if request.user.is_superuser %} + + {% endif %} +
Registration number: {{ user.userprofile.registration_number }}