From 015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Thu, 17 Jun 2021 22:30:49 +0100 Subject: shorter patch names, updated README.md, new Makefile --- i18n_views/honk.html | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 i18n_views/honk.html (limited to 'i18n_views/honk.html') diff --git a/i18n_views/honk.html b/i18n_views/honk.html new file mode 100644 index 0000000..52f63a7 --- /dev/null +++ b/i18n_views/honk.html @@ -0,0 +1,146 @@ +
+{{ $bonkcsrf := .BonkCSRF }} +{{ $IsPreview := .IsPreview }} +{{ $maplink := .MapLink }} +{{ $omitimages := .OmitImages }} +{{ $i18n := .i18n }} +{{ $lang := .Lang }} +{{ with .Honk }} +
+{{ if $bonkcsrf }} + +{{ else }} + +{{ end }} + +{{ if $bonkcsrf }} {{ end }} +{{ if .Oonker }} +{{ if $bonkcsrf }} + +{{ else }} + +{{ end }} + +{{ if $bonkcsrf }} {{ end }} +{{ end }} +

+{{ if $bonkcsrf }} +{{ .Username }} +{{ else }} +{{ .Username }} +{{ end }} +{{ .What }} {{ .Date.Local.Format "02 Jan 2006 15:04 -0700" }} +{{ if .Oonker }} +
+ +{{ if $bonkcsrf }} +{{ $i18n.Original }}: {{ .Oondle }} +{{ else }} +{{ $i18n.Original }}: {{ .Oondle }} +{{ end }} + +{{ else }} +{{ if .RID }} +
+ +{{ $i18n.InReplyTo }}: {{ .RID }} + +{{ end }} +{{ end }} +
+{{ if $bonkcsrf }} + {{ $i18n.Convoy }}: {{ .Convoy }} +{{ else }} + {{ $i18n.Convoy }}: {{ .Convoy }} + +{{ end }} +

+

+

+{{ .HTPrecis }}

+

{{ .HTPrecis }} +

{{ .HTML }} +{{ with .Time }} +

{{ $i18n.Time }}: {{ .StartTime.Local.Format "03:04PM EDT Mon Jan 02"}} +{{ if .Duration }}
{{ $i18n.Duration }}: {{ .Duration }}{{ end }} +{{ end }} +{{ with .Place }} +

{{ $i18n.Location }}: {{ with .Url }}{{ end }}{{ .Name }}{{ if .Url }}{{ end }}{{ if or .Latitude .Longitude }} {{ .Latitude }} {{ .Longitude }}{{ end }} +{{ end }} +{{ range .Donks }} +{{ if .Local }} +{{ if eq .Media "text/plain" }} +

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

{{ $i18n.Attachment }}: {{ .Name }}{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} +{{ else }} +{{ if $omitimages }} +

{{ $i18n.Image }}: {{ .Name }}{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} +{{ else }} +

{{ .Desc }} +{{ end }} +{{ end }} +{{ else }} +{{ if .External }} +

{{ $i18n.ExtAttachment }}: {{ .Name }}{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} +{{ else }} +{{ if eq .Media "video/mp4" }} +

+{{ else }} +

{{ .Desc }} +{{ end }} +{{ end }} +{{ end }} +{{ end }} +

+{{ end }} +{{ if and $bonkcsrf (not $IsPreview) }} +

+

+{{ $i18n.Actions }} +
+

+{{ if .Honk.Public }} +{{ if .Honk.IsBonked }} + +{{ else }} + +{{ end }} +{{ else }} + +{{ end }} + + + +

+ +
+

+{{ end }} +

-- cgit v1.2.3-70-g09d2