diff --git a/rmo/mock.go b/rmo/mock.go index 8d029486..3255eab9 100644 --- a/rmo/mock.go +++ b/rmo/mock.go @@ -18,8 +18,9 @@ var ( ) type ContentDistrict struct { - Name string - URLLogo string + Name string + URLLogo string + URLWebsite string } type ContentURL struct { Nuisance string @@ -71,8 +72,9 @@ func renderMock(t *htmlpage.BuiltTemplate) func(http.ResponseWriter, *http.Reque t, ContentMock{ District: ContentDistrict{ - Name: "Delta MVCD", - URLLogo: config.MakeURLNidus("/api/district/%s/logo", slug), + Name: "Delta MVCD", + URLLogo: config.MakeURLNidus("/api/district/%s/logo", slug), + URLWebsite: "http://www.deltavcd.com/", }, MapboxToken: config.MapboxToken, ReportID: "abcd-1234-5678", diff --git a/rmo/template/mock/nuisance-submit-complete.html b/rmo/template/mock/nuisance-submit-complete.html index 4249a70a..87b366f0 100644 --- a/rmo/template/mock/nuisance-submit-complete.html +++ b/rmo/template/mock/nuisance-submit-complete.html @@ -104,12 +104,14 @@ -
- {{ if not (eq .District nil) }} -

Your report will be handled by

-

{{ .District.Name }}

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

Your report will be handled by

+

{{ .District.Name }}

+ + {{ end }} +