Jul 21 - Update QR code destination page, shows recent inspection cleaning quality
This commit is contained in:
@@ -103,13 +103,13 @@
|
||||
</div>
|
||||
|
||||
{# ── Recent inspections (DATES ONLY — occupant-safe) ── #}
|
||||
{% if recent_dates %}
|
||||
{% if recent_inspections %}
|
||||
<div class="card-soft p-3 mb-3">
|
||||
<div class="sec-title mb-2"><i class="bi bi-clipboard-check me-1"></i> Recent Inspections</div>
|
||||
{% for d in recent_dates %}
|
||||
<div class="list-line py-2 d-flex align-items-center justify-content-between">
|
||||
<span>{{ d.strftime('%b %d, %Y') }}</span>
|
||||
<span class="text-success small"><i class="bi bi-check-circle-fill"></i> Completed</span>
|
||||
{% for r in recent_inspections %}
|
||||
<div class="list-line py-2 d-flex align-items-center justify-content-between gap-2">
|
||||
<span>{{ r.date.strftime('%b %d, %Y') }}</span>
|
||||
<span class="badge bg-{{ r.colour }}">{{ r.label }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="text-muted small mt-2">This facility is inspected regularly by our quality team.</div>
|
||||
|
||||
Reference in New Issue
Block a user