.
This commit is contained in:
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
{% for trainee in trainees %}
|
{% for trainee in trainees %}
|
||||||
<tr class="trainee" _="on click log 'test' then log the next <input/> then toggle [@checked] on <input/> in me">
|
<tr class="trainee" _="on click log 'test' then log the next <input/> then toggle [@checked] on <input/> in me">
|
||||||
<td>{{trainee.user.first_name}} {{trainee.user.last_name}}</td>
|
<td>{{trainee.user.first_name}} {{trainee.user.last_name}}
|
||||||
|
<a href="{% url 'account_profile' trainee.username %}" class="opacity-25"><i class="bi bi-link"></i></a>
|
||||||
|
</td>
|
||||||
<td
|
<td
|
||||||
{% if not trainee.grade %}
|
{% if not trainee.grade %}
|
||||||
class="no-grade"
|
class="no-grade"
|
||||||
|
|||||||
@@ -18,7 +18,11 @@
|
|||||||
Grade: {{ user.userprofile.grade }}
|
Grade: {{ user.userprofile.grade }}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
Supervisor: {{ user.userprofile.supervisor }}<br/>
|
Supervisor: {{ user.userprofile.supervisor }}
|
||||||
|
{% if request.user.is_superuser %}
|
||||||
|
<a href='{% url "generic:supervisor_detail" user.userprofile.supervisor.pk %}'><i class="bi bi-link"></i></a>
|
||||||
|
{% endif %}
|
||||||
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
Registration number: {{ user.userprofile.registration_number }}
|
Registration number: {{ user.userprofile.registration_number }}
|
||||||
|
|||||||
Reference in New Issue
Block a user