Make report complete page show after nuisance

This commit is contained in:
Eli Ribble 2026-01-24 20:45:40 +00:00
parent 3075814e81
commit 8f58859693
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file

@ -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,

View file

@ -30,9 +30,9 @@
</div>
<p class="text-muted">Please save this ID for your reference.</p>
{{ if not (eq .District nil) }}
<p>Your report has been assigned to</p>
<p>Your report will be handled by</p>
<p><b>{{ .District.Name }}</b></p>
<img src="{{ .District.LogoURL }}" width="256"/>
<img src="{{ .District.URLLogo }}" width="256"/>
{{ end }}
</div>