{{- /* The File version tab (mailFileVersionView): the line diff of the override against the file, then the file itself. */ -}} {{- with .Data -}} {{- if .CustomLayout }}
{{ trans "backend::lang.mail.info_custom_layout" }}
{{ end -}} {{- if .Show -}} {{- if .Customized -}} {{- if .Identical }}{{ trans "backend::lang.mail.file_identical" }}
{{- else if .Diff }}{{ trans "backend::lang.mail.file_changes" }}
{{ trans "backend::lang.mail.file_legend" }}
{{ range .Diff }}{{ .Text }}{{ end }}{{ end -}}
{{- else }}{{ trans "backend::lang.mail.file_not_customized" }}
{{ end -}}{{ trans "backend::lang.mail.file_content" }}
{{ range .Content }}{{ . }}{{ end }}
{{- end -}}
{{- end -}}