diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 7e60f27291..39739d6903 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -34,6 +34,7 @@ {{end}} + {{if .LatestCommit}}{{if .LatestCommit.Committer}}{{TimeSince .LatestCommit.Committer.When ctx.Locale}}{{end}}{{end}} @@ -89,6 +90,13 @@ {{end}} + + + {{if and (not $entry.IsDir) (not $entry.IsSubModule)}} + {{FileSize $entry.Size}} + {{end}} + + {{if $commit}}{{TimeSince $commit.Committer.When ctx.Locale}}{{end}} {{end}}