diff --git a/views/honk.html b/views/honk.html index 805b366..d52523c 100644 --- a/views/honk.html +++ b/views/honk.html @@ -66,15 +66,15 @@ in reply to: {{ .RID }} {{ range .Donks }} {{ if .Local }} {{ if eq .Media "text/plain" }} -

Attachment: {{ .Name }} {{ .Desc }} +

Attachment: {{ .Name }}{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} {{ else if eq .Media "application/pdf" }} -

Attachment: {{ .Name }} {{ .Desc }} +

Attachment: {{ .Name }}{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} {{ else }}

{{ .Desc }} {{ end }} {{ else }} {{ if .XID }} -

External Attachment: {{ .Name }} +

External Attachment: {{ .Name }}{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} {{ else }} {{ if eq .Media "video/mp4" }}