{{ $imagePathOld := printf "%s/%s" .root.BeforeRawPath (EscapePound .file.OldName) }} {{ $imagePathNew := printf "%s/%s" .root.RawPath (EscapePound .file.Name) }} {{if or .blobBase .blobHead}}
{{.root.i18n.Tr "repo.diff.file_before"}}
{{.root.i18n.Tr "repo.diff.file_image_width"}}: | {{.root.i18n.Tr "repo.diff.file_image_height"}}: | {{.root.i18n.Tr "repo.diff.file_byte_size"}}: {{FileSize .blobBase.Size}}
{{end}} {{if .blobHead }}{{.root.i18n.Tr "repo.diff.file_after"}}
{{.root.i18n.Tr "repo.diff.file_image_width"}}: | {{.root.i18n.Tr "repo.diff.file_image_height"}}: | {{.root.i18n.Tr "repo.diff.file_byte_size"}}: {{FileSize .blobHead.Size}}
{{end}}