Aug 4 - Update code to follow up - MT12b
This commit is contained in:
@@ -38,7 +38,18 @@
|
||||
<tbody>
|
||||
{% for s in schedules %}
|
||||
<tr class="{{ 'text-muted' if not s.active else '' }}">
|
||||
<td><strong>{{ s.name }}</strong></td>
|
||||
<td>
|
||||
<strong>{{ s.name }}</strong>
|
||||
{% if s.is_follow_up %}
|
||||
{# phase48 — a schedule planned as the deferred twin of
|
||||
"Re-inspect Now". Starting it produces a linked re-inspection. #}
|
||||
<a href="{{ url_for('inspections.view', inspection_id=s.parent_inspection_id) }}"
|
||||
class="badge bg-warning text-dark text-decoration-none ms-1"
|
||||
title="Follow-up of inspection #{{ s.parent_inspection_id }}">
|
||||
<i class="bi bi-arrow-repeat"></i> Follow-up #{{ s.parent_inspection_id }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ s.template.name if s.template else '—' }}</td>
|
||||
<td>
|
||||
{{ s.facility.name if s.facility else '—' }}
|
||||
|
||||
Reference in New Issue
Block a user