diff --git a/app/templates/inspections/view.html b/app/templates/inspections/view.html index 2a07b70..845b590 100644 --- a/app/templates/inspections/view.html +++ b/app/templates/inspections/view.html @@ -537,6 +537,12 @@ Frequency {{ inspection.template.frequency|title }} + {% if inspection.scheduled_inspection and inspection.scheduled_inspection.creator %} +
+ Scheduled By + {{ inspection.scheduled_inspection.creator.display_name }} +
+ {% endif %} {# ── Submission GPS (admin / director only) ──────────────────────────── #} diff --git a/app/templates/scheduled_inspections/list.html b/app/templates/scheduled_inspections/list.html index f11b3ea..dcef7f9 100644 --- a/app/templates/scheduled_inspections/list.html +++ b/app/templates/scheduled_inspections/list.html @@ -33,6 +33,7 @@ Next Due Ends Status + Created By @@ -73,6 +74,10 @@ Inactive {% endif %} + + {{ s.creator.display_name if s.creator else '—' }} +
{{ s.created_at.strftime('%b %d, %Y') if s.created_at else '' }}
+ {# 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 %}