From 81812030a8743aa10756617a1762c209d4ccc6d3 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 2 Oct 2019 21:27:44 -0400 Subject: [PATCH] only show lat/lon if one is present --- views/honk.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/honk.html b/views/honk.html index f127b3e..755e7fb 100644 --- a/views/honk.html +++ b/views/honk.html @@ -46,7 +46,7 @@ in reply to: {{ .RID }}

Time: {{ .StartTime.Local.Format "03:04PM EDT Mon Jan 02"}} {{ end }} {{ with .Place }} -

Location: {{ with .Url }}{{ end }}{{ .Name }}{{ if .Url }}{{ end }} {{ .Latitude }} {{ .Longitude }} +

Location: {{ with .Url }}{{ end }}{{ .Name }}{{ if .Url }}{{ end }}{{ if or .Latitude .Longitude }} {{ .Latitude }} {{ .Longitude }}{{ end }} {{ end }} {{ range .Donks }} {{ if .Local }}