{{ if $file.Truncated }}
{{ $left := 0 }}
{{ $right := 0 }}
{{ range $line := split $file.Content "\n" }}
{{ if ne $line "" }}{{ if ne (index $line 0) 92 }}
{{ if eq (index $line 0) 64 }}
{{ $left = toInt (index (splitGit (index (split $line "-") 1)) 0) }}
{{ $right = toInt (index (splitGit (index (split $line "+") 1)) 0) }}
{{ end }}
{{ end }}
{{ $.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 "" }}{{ $.locale.Tr "gist.revision.empty-file" }}
{{ else }}| {{ else }} {{ if eq (index $line 0) 43 }} | {{ $right }} | {{ $right = inc $right }} {{ else if eq (index $line 0) 45 }}{{ $left }} | {{ $left = inc $left }} {{ else if eq (index $line 0) 32 }} | {{ $left }} | {{ $right }} | {{ $left = inc $left }} {{ $right = inc $right }} {{ end }} {{ end }}{{ if ne (index $line 0) 64 }}{{ slice $line 0 1 }}{{ end }} | {{ if ne (index $line 0) 64 }}{{ slice $line 1 }}{{ else }}{{ $line }}{{ end }} | ||