06/18 Add inspections' filter by ID, and add id column on inspections/issues page

This commit is contained in:
2026-06-18 11:22:49 -04:00
parent 482ed7e538
commit bb44281260
3 changed files with 36 additions and 19 deletions
+2
View File
@@ -92,6 +92,7 @@
<table class="table table-hover mb-0">
<thead class="table-light">
<tr>
<th>#</th>
<th>Reported</th>
<th>Severity</th>
<th>Contract</th>
@@ -108,6 +109,7 @@
{% set is_following = issue.id in followed_ids %}
{% set sla = sla_status(issue) %}
<tr class="{{ 'table-danger' if sla == 'breached' else 'table-warning' if sla == 'at_risk' else '' }}">
<td><small class="text-muted">#{{ issue.id }}</small></td>
<td><small>{{ issue.reported_at.strftime('%Y-%m-%d %H:%M') }}</small></td>
<td>
<span class="badge bg-{{ 'danger' if issue.severity in ['critical','high'] else 'warning text-dark' if issue.severity == 'medium' else 'secondary' }}">