From d977e7ec105823106b7470cf153d45dc244890cc Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 28 Mar 2023 18:00:07 -0400 Subject: [PATCH] Add creation time in tag list page (#23693) (#23773) Backport #23693 by @balki Fixes #21699 Co-authored-by: Balki <189196+balki@users.noreply.github.com> --- templates/repo/release/list.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 66147f8161..0f0535f75a 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -39,6 +39,9 @@
{{if $.Permission.CanRead $.UnitTypeCode}} + {{if .CreatedUnix}} + {{svg "octicon-clock" 16 "gt-mr-2"}}{{TimeSinceUnix .CreatedUnix $.locale}} + {{end}} {{svg "octicon-git-commit" 16 "gt-mr-2"}}{{ShortSha .Sha1}} {{if not $.DisableDownloadSourceArchives}} {{svg "octicon-file-zip" 16 "gt-mr-2"}}ZIP