{{template "base/head" .}} {{template "base/navbar" .}} {{template "repo/nav" .}}
{{if .IsDiffCompare }} {{else}}
Browse Source

{{.Commit.Message}}

    {{range .Parents}}
  • parent {{ShortSha .}}
  • {{end}}
  • commit {{ShortSha .CommitId}}

{{.Commit.Author.Name}} {{TimeSince .Commit.Author.When $.Lang}}

{{end}} {{if .DiffNotAvailable}}

Diff Data Not Available.

{{else}}
Show Diff Stats

{{.Diff.NumFiles}} changed files with {{.Diff.TotalAddition}} additions and {{.Diff.TotalDeletion}} deletions.

    {{range .Diff.Files}}
  1. {{if not .IsBin}} {{.Addition}} {{.Deletion}} {{else}} BIN {{end}}
      {{.Name}}
  2. {{end}}
{{range .Diff.Files}}
{{if not .IsBin}} + {{.Addition}} - {{.Deletion}} {{else}} BIN {{end}}
View File {{.Name}}
{{$isImage := (call $.IsImageFile .Name)}}
{{if $isImage}}
{{else}} {{range .Sections}} {{range .Lines}} {{end}} {{end}}
{{if .LeftIdx}}{{.LeftIdx}}{{end}} {{if .RightIdx}}{{.RightIdx}}{{end}}
{{.Content}}
{{end}}
{{end}} {{end}}
{{template "base/footer" .}}