From 8f58859693b9a5669fbe9b291407e96dad2823a6 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Sat, 24 Jan 2026 20:45:40 +0000 Subject: [PATCH] Make report complete page show after nuisance --- public-report/mock.go | 3 +++ public-report/template/mock/nuisance-submit-complete.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public-report/mock.go b/public-report/mock.go index 02aa98aa..83d2805f 100644 --- a/public-report/mock.go +++ b/public-report/mock.go @@ -50,6 +50,9 @@ func makeURLMock(p string) string { func renderMock(t *htmlpage.BuiltTemplate) func(http.ResponseWriter, *http.Request) { return func(w http.ResponseWriter, r *http.Request) { slug := chi.URLParam(r, "slug") + if slug == "" { + slug = "delta-mvcd" + } htmlpage.RenderOrError( w, t, diff --git a/public-report/template/mock/nuisance-submit-complete.html b/public-report/template/mock/nuisance-submit-complete.html index 333059d6..dbb71286 100644 --- a/public-report/template/mock/nuisance-submit-complete.html +++ b/public-report/template/mock/nuisance-submit-complete.html @@ -30,9 +30,9 @@

Please save this ID for your reference.

{{ if not (eq .District nil) }} -

Your report has been assigned to

+

Your report will be handled by

{{ .District.Name }}

- + {{ end }}