Jul 20 - Update Inspection list with scheduled bagde

This commit is contained in:
2026-07-20 17:27:56 -04:00
parent 18e9090780
commit 30f5b56bbb
4 changed files with 18 additions and 1 deletions
+5
View File
@@ -475,6 +475,11 @@
</div>
</div>
<div class="d-flex align-items-center gap-2">
{% if inspection.scheduled_inspection_id %}
<span class="badge bg-info text-dark fs-6" title="Created from a scheduled inspection">
<i class="bi bi-calendar-check"></i> Scheduled{% if inspection.scheduled_inspection %} · {{ inspection.scheduled_inspection.frequency_label }}{% endif %}
</span>
{% endif %}
<span class="badge bg-{{ 'success' if inspection.status == 'completed' else 'danger' if inspection.status == 'flagged' else 'secondary' }} fs-6">
{{ inspection.status|replace('_',' ')|title }}
</span>