From 2430bf57c22948e66b2c918d324d6e0bff4f6792 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Wed, 17 Feb 2021 13:48:13 +0100 Subject: add i18n'd html templates, newer patch for web.go --- v0.9.5/views/i18n/honkfrags.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 v0.9.5/views/i18n/honkfrags.html (limited to 'v0.9.5/views/i18n/honkfrags.html') diff --git a/v0.9.5/views/i18n/honkfrags.html b/v0.9.5/views/i18n/honkfrags.html new file mode 100644 index 0000000..5ccc2da --- /dev/null +++ b/v0.9.5/views/i18n/honkfrags.html @@ -0,0 +1,11 @@ +
{{ .TopHID }}
+{{ $BonkCSRF := .HonkCSRF }} +{{ $MapLink := .MapLink }} +{{ $Badonk := .User.Options.Reaction }} +{{ $OmitImages := .User.Options.OmitImages }} +

{{ .ServerMessage }}

+
+{{ range .Honks }} +{{ template "honk.html" map "Honk" . "MapLink" $MapLink "BonkCSRF" $BonkCSRF "Badonk" $Badonk "OmitImages" $OmitImages }} +{{ end }} +
-- cgit v1.2.3-70-g09d2