From 7156bcf9736fe21450609b539b2f3d8047c3fb75 Mon Sep 17 00:00:00 2001 From: Amit Mittal Date: Sun, 22 Oct 2023 13:22:07 +0530 Subject: [PATCH] Resolves #27724 --- templates/repo/view_list.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) 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}}