Jul 30 - Show scheduled inspection creator on list and task details page

This commit is contained in:
2026-07-31 17:06:13 -04:00
parent d424385747
commit 6513e6b4f6
2 changed files with 11 additions and 0 deletions
@@ -33,6 +33,7 @@
<th>Next Due</th>
<th>Ends</th>
<th>Status</th>
<th>Created By</th>
<th class="text-end"></th>
</tr>
</thead>
@@ -73,6 +74,10 @@
<span class="badge bg-secondary">Inactive</span>
{% endif %}
</td>
<td>
{{ s.creator.display_name if s.creator else '—' }}
<div class="small text-muted">{{ s.created_at.strftime('%b %d, %Y') if s.created_at else '' }}</div>
</td>
<td class="text-end text-nowrap">
{# Start is shown only to the assignee — the inspection is theirs to do. #}
{% if s.active and s.inspector_id and s.inspector_id == current_user.id %}