diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 7ec9acc84e..1c9aad9a83 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -8,6 +8,7 @@ + {{if .LatestCommit}}{{if .LatestCommit.Committer}}{{TimeSince .LatestCommit.Committer.When ctx.Locale}}{{end}}{{end}} @@ -63,6 +64,13 @@ {{end}} + + + {{if and (not $entry.IsDir) (not $entry.IsSubModule)}} + {{FileSize $entry.Size}} + {{end}} + + {{if $commit}}{{TimeSince $commit.Committer.When ctx.Locale}}{{end}} {{end}}