From 765e437d6c028da11be26b9b8295429dda1810d0 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 3 Feb 2026 23:12:59 +0000 Subject: [PATCH] Add header to status search page --- rmo/status.go | 1 + rmo/template/status.html | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/rmo/status.go b/rmo/status.go index 3eceb5b9..c5e875ac 100644 --- a/rmo/status.go +++ b/rmo/status.go @@ -31,6 +31,7 @@ type Contact struct { Phone string } type ContentStatus struct { + District *ContentDistrict Error string MapboxToken string ReportID string diff --git a/rmo/template/status.html b/rmo/template/status.html index a8f3e800..88fc4e0d 100644 --- a/rmo/template/status.html +++ b/rmo/template/status.html @@ -16,6 +16,11 @@ document.addEventListener('DOMContentLoaded', function() { {{end}} {{define "content"}} +{{if (eq .District nil)}} + {{template "header-rmo" .}} +{{else}} + {{template "header-district" .District}} +{{end}}