From d137820037d8f75ce8c314abf4e2248e664019f6 Mon Sep 17 00:00:00 2001 From: Thomas Miceli <27960254+thomiceli@users.noreply.github.com> Date: Fri, 29 Sep 2023 06:32:09 +0200 Subject: [PATCH] Add missing $ in templates (#122) --- templates/pages/gist.html | 4 ++-- templates/pages/revisions.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/pages/gist.html b/templates/pages/gist.html index 1e04dea..7e9eca0 100644 --- a/templates/pages/gist.html +++ b/templates/pages/gist.html @@ -34,12 +34,12 @@ {{ if $file.Truncated }}
{{ .locale.Tr "gist.revision.diff-truncated" }}
+{{ $.locale.Tr "gist.revision.diff-truncated" }}
{{ else if and (eq $file.Content "") (ne $file.OldFilename "") }} -{{ .locale.Tr "gist.revision.file-renamed-no-changes" }}
+{{ $.locale.Tr "gist.revision.file-renamed-no-changes" }}
{{ else if eq $file.Content "" }} -{{ .locale.Tr "gist.revision.empty-file" }}
+{{ $.locale.Tr "gist.revision.empty-file" }}
{{ else }}