| {{ . }} | {{ end }}
|---|
| {{ . }} | @@ -68,7 +75,7 @@
| {{ . }} | {{ end }}
|---|
| {{ . }} | @@ -32,7 +37,7 @@
{{ $.locale.Tr "gist.revision.diff-truncated" }}
+ {{ else if $file.IsBinary }} +{{ $.locale.Tr "gist.revision.binary-file-changes" }}
{{ else if and (eq $file.Content "") (ne $file.OldFilename "") }}{{ $.locale.Tr "gist.revision.file-renamed-no-changes" }}
{{ else if eq $file.Content "" }} diff --git a/templates/partials/_editor.html b/templates/partials/_editor.html index 033056b..2201ab0 100644 --- a/templates/partials/_editor.html +++ b/templates/partials/_editor.html @@ -3,13 +3,14 @@-
+ {{ if not .Binary }}