Make report complete page show after nuisance
This commit is contained in:
parent
3075814e81
commit
8f58859693
2 changed files with 5 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue