feat: add exam mode URL handling and update user scores template

This commit is contained in:
Ross
2026-07-06 09:29:15 +01:00
parent 5a2baaeab8
commit daebdc1844
4 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class UserSearchSelectMultipleWidget:
f'<span>{u.get_full_name() or u.username} <small class="text-muted">{u.email}</small>'
)
if grade_text:
selected_html += f' <span class="badge bg-light text-muted ms-2 small border">{grade_text}</span>'
selected_html += f' <span class="badge bg-light text-dark text-muted ms-2 small border">{grade_text}</span>'
selected_html += (
'</span>'
f'<button type="button" class="btn btn-sm btn-outline-danger ms-2" onclick="removeUserFromField(\'{self.name}\', {u.pk})">Remove</button>'