diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index 8becb0065..13b78a38b 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -74,11 +74,11 @@ - {{range .Diff.Files}} + {{range $i, $file := .Diff.Files}}
- {{if $line.LeftIdx}}{{$line.LeftIdx}}{{end}} + {{if $line.LeftIdx}}{{$line.LeftIdx}}{{end}} | - {{if $line.RightIdx}}{{$line.RightIdx}}{{end}} + {{if $line.RightIdx}}{{$line.RightIdx}}{{end}} |