{{if .DiffNotAvailable}}

{{.i18n.Tr "repo.diff.data_not_available"}}

{{else}}
{{.i18n.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}}
    {{range .Diff.Files}}
  1. {{if not .IsBin}} {{.Addition}} {{.Deletion}} {{else}} {{$.i18n.Tr "repo.diff.bin"}} {{end}}
      {{.Name}}
  2. {{end}}
{{if .IsSplitStyle}} {{ template "repo/diff_box_split" . }} {{else}} {{ template "repo/diff_box_unified" . }} {{end}} {{end}}