Add notes display with tooltip support in CID user list

This commit is contained in:
Ross
2025-12-29 11:23:52 +00:00
parent c5f9b830eb
commit 517c2ebe06
@@ -7,6 +7,10 @@
<div class="small text-muted">{{cid.name}} &middot; {{cid.email}}</div>
</div>
<div class="d-flex align-items-center ms-2">
<div class="small text-muted me-2">Notes:
{% if cid.notes %}
<span class="cid-notes" title="{{ cid.notes|escape }}" data-bs-toggle="tooltip" data-bs-placement="top">{{ cid.notes|truncatechars:60 }}</span>
{% endif %}
{% if cid.group and cid.group in exam.cid_user_groups.all %}
<div class="small text-muted me-2"><span class="badge bg-info text-dark">{{ cid.group.name }}</span></div>
{% endif %}